summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanak Amarasena <janakamarasena@gmail.com>2018-07-01 20:37:31 +0530
committerJanak Amarasena <janakamarasena@gmail.com>2018-07-01 20:37:31 +0530
commitb86acf45a0f3f673fdf9f4be9161dda3dcab307a (patch)
tree02677b3a66313cba9e46cc2e749bd1c4bfacb408
parent95261cf5c78a6bd79284e1c81aea5a4883398017 (diff)
Added logo and splash resources to custom res
-rw-r--r--app/src/custom/res/drawable-hdpi/ic_splash_background.pngbin0 -> 39702 bytes
-rw-r--r--app/src/custom/res/drawable-ldpi/logo.pngbin0 -> 8743 bytes
-rw-r--r--app/src/custom/res/drawable-mdpi/logo.pngbin0 -> 6324 bytes
-rw-r--r--app/src/custom/res/drawable-xhdpi/ic_splash_background.pngbin0 -> 64868 bytes
-rw-r--r--app/src/custom/res/drawable-xxxhdpi/ic_splash_background.pngbin0 -> 131879 bytes
-rw-r--r--app/src/custom/res/drawable-xxxhdpi/logo.pngbin0 -> 43251 bytes
-rw-r--r--app/src/custom/res/drawable/splash_page.xml8
7 files changed, 6 insertions, 2 deletions
diff --git a/app/src/custom/res/drawable-hdpi/ic_splash_background.png b/app/src/custom/res/drawable-hdpi/ic_splash_background.png
new file mode 100644
index 00000000..3e5f7871
--- /dev/null
+++ b/app/src/custom/res/drawable-hdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/custom/res/drawable-ldpi/logo.png b/app/src/custom/res/drawable-ldpi/logo.png
new file mode 100644
index 00000000..4e22d99f
--- /dev/null
+++ b/app/src/custom/res/drawable-ldpi/logo.png
Binary files differ
diff --git a/app/src/custom/res/drawable-mdpi/logo.png b/app/src/custom/res/drawable-mdpi/logo.png
new file mode 100644
index 00000000..e53cb15c
--- /dev/null
+++ b/app/src/custom/res/drawable-mdpi/logo.png
Binary files differ
diff --git a/app/src/custom/res/drawable-xhdpi/ic_splash_background.png b/app/src/custom/res/drawable-xhdpi/ic_splash_background.png
new file mode 100644
index 00000000..c2135c04
--- /dev/null
+++ b/app/src/custom/res/drawable-xhdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png b/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png
new file mode 100644
index 00000000..1b8046fa
--- /dev/null
+++ b/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png
Binary files differ
diff --git a/app/src/custom/res/drawable-xxxhdpi/logo.png b/app/src/custom/res/drawable-xxxhdpi/logo.png
new file mode 100644
index 00000000..4297d90c
--- /dev/null
+++ b/app/src/custom/res/drawable-xxxhdpi/logo.png
Binary files differ
diff --git a/app/src/custom/res/drawable/splash_page.xml b/app/src/custom/res/drawable/splash_page.xml
index 57caa834..5b07671f 100644
--- a/app/src/custom/res/drawable/splash_page.xml
+++ b/app/src/custom/res/drawable/splash_page.xml
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <!--Rename ic_splash_background to background image name-->
+ <!--Replace custom/res/drawable-hdpi/ic_splash_background with background image-->
+ <!--Replace custom/res/drawable-xhdpi/ic_splash_background with background image-->
+ <!--Replace custom/res/drawable-xxxhdpi/ic_splash_background with background image-->
<!--Change gravity to best fit background image to screen-->
<item android:drawable="@drawable/ic_splash_background"
android:gravity="fill_horizontal|fill_vertical" />
<!--If a foreground image is not need remove this <item> tag-->
<item>
- <!--Rename mask to foreground image name-->
+ <!--Replace custom/res/drawable/logo with foreground image-->
+ <!--Replace custom/res/drawable-ldpi/logo with foreground image-->
+ <!--Replace custom/res/drawable-xxxhdpi/logo with foreground image-->
<bitmap
android:src="@drawable/logo"
android:gravity="center" />