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,17 +3,18 @@ | ||
| 3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent"> | 4 | android:layout_height="match_parent"> |
| 5 | 5 | ||
| 6 | - <RelativeLayout | 6 | + <ImageView |
| 7 | android:id="@+id/defaultLayout" | 7 | android:id="@+id/defaultLayout" |
| 8 | android:layout_width="match_parent" | 8 | android:layout_width="match_parent" |
| 9 | android:layout_height="match_parent" | 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 | <RelativeLayout | 13 | <RelativeLayout |
| 13 | android:id="@+id/adLayout" | 14 | android:id="@+id/adLayout" |
| 14 | android:layout_width="match_parent" | 15 | android:layout_width="match_parent" |
| 15 | android:layout_height="match_parent" | 16 | android:layout_height="match_parent" |
| 16 | - android:visibility="gone"> | 17 | + android:visibility="visible"> |
| 17 | 18 | ||
| 18 | <RelativeLayout | 19 | <RelativeLayout |
| 19 | android:id="@+id/splashAdContainer" | 20 | android:id="@+id/splashAdContainer" |
| @@ -24,7 +25,8 @@ | @@ -24,7 +25,8 @@ | ||
| 24 | android:id="@+id/logo" | 25 | android:id="@+id/logo" |
| 25 | android:layout_width="100dp" | 26 | android:layout_width="100dp" |
| 26 | android:layout_height="100dp" | 27 | android:layout_height="100dp" |
| 27 | - android:src="@mipmap/ic_launcher" | 28 | + android:src="@drawable/log_max" |
| 29 | + android:padding="8dp" | ||
| 28 | android:layout_alignParentBottom="true"/> | 30 | android:layout_alignParentBottom="true"/> |
| 29 | 31 | ||
| 30 | </RelativeLayout> | 32 | </RelativeLayout> |