diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-09-03 06:37:20 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-09-03 06:37:20 +0000 |
commit | 79726b9a08d8b55f6965e2336857e1587bf1795c (patch) | |
tree | 14a9eaa5b83aec1af97012d754a8d7d29e2d8693 /app/src/main/res/values | |
parent | 870b21717403fc5a9304183816d0c9cef9f73d4d (diff) | |
download | infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar.gz infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar.bz2 infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar.lz infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar.xz infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.tar.zst infinity-for-reddit-79726b9a08d8b55f6965e2336857e1587bf1795c.zip |
Display a splash screen when the app starts.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/values-night-v27/styles.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/values-v27/styles.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 4 |
3 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/values-night-v27/styles.xml b/app/src/main/res/values-night-v27/styles.xml new file mode 100644 index 00000000..275f4057 --- /dev/null +++ b/app/src/main/res/values-night-v27/styles.xml @@ -0,0 +1,8 @@ +<resources> + + <style name="AppTheme.Launcher" parent="@style/AppTheme.NoActionBarWithTransparentStatusBar"> + <item name="android:windowBackground">@drawable/splash_screen</item> + <item name="android:navigationBarColor">@color/navBarColor</item> + </style> + +</resources> diff --git a/app/src/main/res/values-v27/styles.xml b/app/src/main/res/values-v27/styles.xml new file mode 100644 index 00000000..c354ca2c --- /dev/null +++ b/app/src/main/res/values-v27/styles.xml @@ -0,0 +1,10 @@ +<resources> + + <style name="AppTheme.Launcher" parent="@style/AppTheme.NoActionBarWithTransparentStatusBar"> + <item name="android:windowBackground">@drawable/splash_screen</item> + <item name="android:navigationBarColor">@color/navBarColor</item> + <item name="android:windowLightStatusBar">true</item> + <item name="android:windowLightNavigationBar">true</item> + </style> + +</resources> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 03c4361a..e4119c67 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -10,6 +10,10 @@ <item name="android:textColorPrimary">@android:color/white</item> </style> + <style name="AppTheme.Launcher" parent="@style/AppTheme.NoActionBarWithTransparentStatusBar"> + <item name="android:windowBackground">@drawable/splash_screen</item> + </style> + <style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> |