From 79726b9a08d8b55f6965e2336857e1587bf1795c Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 3 Sep 2019 14:37:20 +0800 Subject: Display a splash screen when the app starts. --- app/src/main/res/drawable-hdpi/splash_icon.png | Bin 0 -> 10148 bytes app/src/main/res/drawable-mdpi/splash_icon.png | Bin 0 -> 6472 bytes app/src/main/res/drawable-xhdpi/splash_icon.png | Bin 0 -> 14868 bytes app/src/main/res/drawable-xxhdpi/splash_icon.png | Bin 0 -> 23498 bytes app/src/main/res/drawable-xxxhdpi/splash_icon.png | Bin 0 -> 32987 bytes app/src/main/res/drawable/splash_icon.png | Bin 0 -> 6472 bytes app/src/main/res/drawable/splash_screen.xml | 12 ++++++++++++ app/src/main/res/values-night-v27/styles.xml | 8 ++++++++ app/src/main/res/values-v27/styles.xml | 10 ++++++++++ app/src/main/res/values/styles.xml | 4 ++++ 10 files changed, 34 insertions(+) create mode 100644 app/src/main/res/drawable-hdpi/splash_icon.png create mode 100644 app/src/main/res/drawable-mdpi/splash_icon.png create mode 100644 app/src/main/res/drawable-xhdpi/splash_icon.png create mode 100644 app/src/main/res/drawable-xxhdpi/splash_icon.png create mode 100644 app/src/main/res/drawable-xxxhdpi/splash_icon.png create mode 100644 app/src/main/res/drawable/splash_icon.png create mode 100644 app/src/main/res/drawable/splash_screen.xml create mode 100644 app/src/main/res/values-night-v27/styles.xml create mode 100644 app/src/main/res/values-v27/styles.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-hdpi/splash_icon.png b/app/src/main/res/drawable-hdpi/splash_icon.png new file mode 100644 index 00000000..1cb4280e Binary files /dev/null and b/app/src/main/res/drawable-hdpi/splash_icon.png differ diff --git a/app/src/main/res/drawable-mdpi/splash_icon.png b/app/src/main/res/drawable-mdpi/splash_icon.png new file mode 100644 index 00000000..637d7c35 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/splash_icon.png differ diff --git a/app/src/main/res/drawable-xhdpi/splash_icon.png b/app/src/main/res/drawable-xhdpi/splash_icon.png new file mode 100644 index 00000000..3d41cc71 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/splash_icon.png differ diff --git a/app/src/main/res/drawable-xxhdpi/splash_icon.png b/app/src/main/res/drawable-xxhdpi/splash_icon.png new file mode 100644 index 00000000..643d5f55 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/splash_icon.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/splash_icon.png b/app/src/main/res/drawable-xxxhdpi/splash_icon.png new file mode 100644 index 00000000..14da901c Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/splash_icon.png differ diff --git a/app/src/main/res/drawable/splash_icon.png b/app/src/main/res/drawable/splash_icon.png new file mode 100644 index 00000000..637d7c35 Binary files /dev/null and b/app/src/main/res/drawable/splash_icon.png differ diff --git a/app/src/main/res/drawable/splash_screen.xml b/app/src/main/res/drawable/splash_screen.xml new file mode 100644 index 00000000..c3ccc627 --- /dev/null +++ b/app/src/main/res/drawable/splash_screen.xml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file 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 @@ + + + + + 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 @@ + + + + + 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 @@ @android:color/white + +