Commit bb6c2dadefec51439d5900b033d1466b2e3eeb1f
1 parent
22eaa31a
更新图标
Showing
4 changed files
with
6 additions
and
4 deletions
app/src/main/res/mipmap-hdpi/bg_activity.png renamed to app/src/main/res/drawable-hdpi/bg_activity.png
24 KB
app/src/main/res/mipmap-hdpi/bg_launch.png renamed to app/src/main/res/drawable-hdpi/bg_launch.png
247 KB
app/src/main/res/drawable-hdpi/log_max.png
0 → 100644
7.81 KB
app/src/main/res/layout/activity_splash.xml
| ... | ... | @@ -3,17 +3,18 @@ |
| 3 | 3 | android:layout_width="match_parent" |
| 4 | 4 | android:layout_height="match_parent"> |
| 5 | 5 | |
| 6 | - <RelativeLayout | |
| 6 | + <ImageView | |
| 7 | 7 | android:id="@+id/defaultLayout" |
| 8 | 8 | android:layout_width="match_parent" |
| 9 | 9 | android:layout_height="match_parent" |
| 10 | - android:background="@mipmap/ic_launcher"/> | |
| 10 | + android:scaleType="centerCrop" | |
| 11 | + android:src="@drawable/bg_launch"/> | |
| 11 | 12 | |
| 12 | 13 | <RelativeLayout |
| 13 | 14 | android:id="@+id/adLayout" |
| 14 | 15 | android:layout_width="match_parent" |
| 15 | 16 | android:layout_height="match_parent" |
| 16 | - android:visibility="gone"> | |
| 17 | + android:visibility="visible"> | |
| 17 | 18 | |
| 18 | 19 | <RelativeLayout |
| 19 | 20 | android:id="@+id/splashAdContainer" |
| ... | ... | @@ -24,7 +25,8 @@ |
| 24 | 25 | android:id="@+id/logo" |
| 25 | 26 | android:layout_width="100dp" |
| 26 | 27 | android:layout_height="100dp" |
| 27 | - android:src="@mipmap/ic_launcher" | |
| 28 | + android:src="@drawable/log_max" | |
| 29 | + android:padding="8dp" | |
| 28 | 30 | android:layout_alignParentBottom="true"/> |
| 29 | 31 | |
| 30 | 32 | </RelativeLayout> | ... | ... |