From 62f5710b081bb4b0e56c3640eac19021844147e7 Mon Sep 17 00:00:00 2001
From: Janak Amarasena <janakamarasena@gmail.com>
Date: Sun, 10 Jun 2018 10:27:02 +0530
Subject: [PATCH] Added splash screen customisation

---
 app/src/custom/res/drawable/splash_page.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 app/src/custom/res/drawable/splash_page.xml

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 000000000..8fe99847e
--- /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
-- 
GitLab