summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2017-12-12 21:18:20 +0100
committerFup Duck <fupduck@sacknagel.com>2017-12-12 21:18:20 +0100
commitc2d6cfc7754438b262d2cd4a8bc85fb150035f6e (patch)
tree18f418034d849058d94c633bd2ef8d18a1ac6011
parent14ba6c81a5ec60732481e84eb02d62d6490c27f8 (diff)
readd images for StartActivity
* android < 21 does not support VectorDrawables as background
-rw-r--r--app/src/main/res/drawable-hdpi/ic_splash_background.pngbin0 -> 39702 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_splash_background.pngbin0 -> 64868 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_splash_background.pngbin0 -> 131879 bytes
-rw-r--r--app/src/main/res/drawable/splash_page.xml8
4 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_splash_background.png b/app/src/main/res/drawable-hdpi/ic_splash_background.png
new file mode 100644
index 00000000..3e5f7871
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_splash_background.png b/app/src/main/res/drawable-xhdpi/ic_splash_background.png
new file mode 100644
index 00000000..c2135c04
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_splash_background.png b/app/src/main/res/drawable-xxxhdpi/ic_splash_background.png
new file mode 100644
index 00000000..1b8046fa
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/main/res/drawable/splash_page.xml b/app/src/main/res/drawable/splash_page.xml
index 0a083c7e..44112f06 100644
--- a/app/src/main/res/drawable/splash_page.xml
+++ b/app/src/main/res/drawable/splash_page.xml
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_colorsquare"
+ <item android:drawable="@drawable/ic_splash_background"
android:gravity="fill_horizontal|fill_vertical"/>
- <item android:drawable="@drawable/mask"
- android:gravity="center" >
+ <item>
+ <bitmap
+ android:src="@drawable/mask"
+ android:gravity="center" />
</item>
</layer-list> \ No newline at end of file