1、启动设置logo图
2、优化游戏切换图片闪烁问题
This commit is contained in:
@@ -131,6 +131,7 @@
|
||||
<activity
|
||||
android:name="com.shayu.phonelive.activity.LauncherActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/MySplashTheme"
|
||||
android:screenOrientation="portrait"
|
||||
tools:ignore="LockedOrientationActivity">
|
||||
<intent-filter>
|
||||
|
||||
@@ -131,7 +131,7 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL
|
||||
mBtnSkipVideo = findViewById(R.id.btn_skip_video);
|
||||
mBtnSkipImage.setOnClickListener(this);
|
||||
mBtnSkipVideo.setOnClickListener(this);
|
||||
ImgLoader.display(mContext, R.mipmap.screen, mCover);
|
||||
// ImgLoader.display(mContext, R.drawable.screen, mCover);
|
||||
mHandler = new Handler() {
|
||||
@Override
|
||||
public void handleMessage(Message msg) {
|
||||
|
||||
BIN
app/src/main/res/drawable/screen.9.png
Normal file
BIN
app/src/main/res/drawable/screen.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 228 KiB |
@@ -59,7 +59,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clickable="true"
|
||||
android:src="@mipmap/screen"
|
||||
android:src="@drawable/screen"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<ImageView
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 263 KiB |
12
app/src/main/res/values/styles.xml
Normal file
12
app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="MySplashTheme" parent="AppTheme">
|
||||
<!--正常-->
|
||||
<item name="android:windowBackground">@drawable/screen</item>
|
||||
<!-- <item name="android:windowBackground">@drawable/bg_splash</item>-->
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user