summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanak Amarasena <janakamarasena@gmail.com>2018-06-10 10:27:02 +0530
committerJanak Amarasena <janakamarasena@gmail.com>2018-06-23 09:33:02 +0530
commit62f5710b081bb4b0e56c3640eac19021844147e7 (patch)
tree7828f51273a5e5b6333c9ce55881721b6f00f783
parent29d51a50b5c2c3b25c1a8b392b4c36f71b99d68e (diff)
Added splash screen customisation
-rw-r--r--app/src/custom/res/drawable/splash_page.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/custom/res/drawable/splash_page.xml b/app/src/custom/res/drawable/splash_page.xml
new file mode 100644
index 00000000..8fe99847
--- /dev/null
+++ b/app/src/custom/res/drawable/splash_page.xml
@@ -0,0 +1,17 @@
+<?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-->
+ <!--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-->
+ <bitmap
+ android:src="@drawable/mask"
+ android:gravity="center" />
+ </item>
+
+</layer-list> \ No newline at end of file