-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c7df5d
commit 94cb1a6
Showing
8 changed files
with
53 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:opacity="opaque"> | ||
<!--适配不同机型尺寸不同导致冷启动背景拉伸问题--> | ||
<!-- 背景颜色,在上图中该颜色为黑色 --> | ||
<item android:drawable="@color/background" /> | ||
<!-- 黑色背景上的其他图片元素,比如 一个居中显示的 logo 图标--> | ||
<item> | ||
<bitmap | ||
android:gravity="center" | ||
android:src="@drawable/ic_launcher" /> | ||
</item> | ||
<!-- 右上角的图标元素 --> | ||
<!--<item>--> | ||
<!--<bitmap--> | ||
<!--android:gravity="top|right"--> | ||
<!--android:src="@drawable/top_right" />--> | ||
<!--</item>--> | ||
<!--<!– 最下面的文字,注意这里有个 bottom 设置 –>--> | ||
<!--<item android:bottom="@dimen/product_text_bottom">--> | ||
<!--<bitmap--> | ||
<!--android:gravity="bottom"--> | ||
<!--android:src="@drawable/bottom_text" />--> | ||
<!--</item>--> | ||
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
<resources> | ||
|
||
<style name="SplashThemeFullscreen" parent="Theme.MaterialComponents.Light.NoActionBar"> | ||
<item name="android:windowFullscreen">true</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowBackground">@drawable/bg_splash_layer</item> | ||
<item name="android:windowContentOverlay">@null</item> | ||
</style> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.