Commit c9e1d894e7ce3854bab646d22f1d18978ece0031
1 parent
72622d99
设置背景
Showing
3 changed files
with
4 additions
and
2 deletions
app/src/main/java/cn/vlion/simple/SplashActivity.java
| @@ -74,7 +74,7 @@ public class SplashActivity extends AppCompatActivity { | @@ -74,7 +74,7 @@ public class SplashActivity extends AppCompatActivity { | ||
| 74 | SplashManager.getInstance().setAdScalingModel(Config.AD_SCALING_MODE_SCALE_TO_FIT); | 74 | SplashManager.getInstance().setAdScalingModel(Config.AD_SCALING_MODE_SCALE_TO_FIT); |
| 75 | //432 h5 | 75 | //432 h5 |
| 76 | //433 image | 76 | //433 image |
| 77 | - SplashManager.getInstance().showSplash(this, "433", new SplashViewListener() { | 77 | + SplashManager.getInstance().showSplash(this, "432", new SplashViewListener() { |
| 78 | 78 | ||
| 79 | @Override | 79 | @Override |
| 80 | public void onRequestSuccess(int viewWidth, int viewHeight) { | 80 | public void onRequestSuccess(int viewWidth, int viewHeight) { |
app/src/main/res/layout/activity_main.xml
| @@ -3,6 +3,7 @@ | @@ -3,6 +3,7 @@ | ||
| 3 | xmlns:tools="http://schemas.android.com/tools" | 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:layout_width="match_parent" | 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" | 5 | android:layout_height="match_parent" |
| 6 | + android:background="@drawable/bg_activity" | ||
| 6 | android:orientation="vertical" | 7 | android:orientation="vertical" |
| 7 | tools:context="cn.vlion.simple.MainActivity"> | 8 | tools:context="cn.vlion.simple.MainActivity"> |
| 8 | 9 |
app/src/main/res/layout/activity_native.xml
| @@ -5,7 +5,8 @@ | @@ -5,7 +5,8 @@ | ||
| 5 | android:layout_height="match_parent" | 5 | android:layout_height="match_parent" |
| 6 | android:gravity="center" | 6 | android:gravity="center" |
| 7 | android:orientation="vertical" | 7 | android:orientation="vertical" |
| 8 | - tools:context="cn.vlion.simple.NativeActivity"> | 8 | + tools:context="cn.vlion.simple.NativeActivity" |
| 9 | + android:background="@drawable/bg_activity"> | ||
| 9 | 10 | ||
| 10 | <Button | 11 | <Button |
| 11 | android:id="@+id/loadAppWall" | 12 | android:id="@+id/loadAppWall" |