aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-09-03 06:37:20 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-09-03 06:37:20 +0000
commit79726b9a08d8b55f6965e2336857e1587bf1795c (patch)
tree14a9eaa5b83aec1af97012d754a8d7d29e2d8693 /app/src/main/res/drawable
parent870b21717403fc5a9304183816d0c9cef9f73d4d (diff)
downloadinfinity-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 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/splash_icon.pngbin0 -> 6472 bytes
-rw-r--r--app/src/main/res/drawable/splash_screen.xml12
2 files changed, 12 insertions, 0 deletions
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
--- /dev/null
+++ b/app/src/main/res/drawable/splash_icon.png
Binary files 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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
+
+ <item android:drawable="@color/backgroundColor" />
+
+ <item>
+ <bitmap
+ android:src="@drawable/splash_icon"
+ android:gravity="center" />
+ </item>
+
+</layer-list> \ No newline at end of file