diff options
author | Janak Amarasena <janakamarasena@gmail.com> | 2018-07-01 20:37:31 +0530 |
---|---|---|
committer | Janak Amarasena <janakamarasena@gmail.com> | 2018-07-01 20:37:31 +0530 |
commit | b86acf45a0f3f673fdf9f4be9161dda3dcab307a (patch) | |
tree | 02677b3a66313cba9e46cc2e749bd1c4bfacb408 | |
parent | 95261cf5c78a6bd79284e1c81aea5a4883398017 (diff) |
Added logo and splash resources to custom res
-rw-r--r-- | app/src/custom/res/drawable-hdpi/ic_splash_background.png | bin | 0 -> 39702 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable-ldpi/logo.png | bin | 0 -> 8743 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable-mdpi/logo.png | bin | 0 -> 6324 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable-xhdpi/ic_splash_background.png | bin | 0 -> 64868 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png | bin | 0 -> 131879 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable-xxxhdpi/logo.png | bin | 0 -> 43251 bytes | |||
-rw-r--r-- | app/src/custom/res/drawable/splash_page.xml | 8 |
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 Binary files differnew file mode 100644 index 00000000..3e5f7871 --- /dev/null +++ b/app/src/custom/res/drawable-hdpi/ic_splash_background.png diff --git a/app/src/custom/res/drawable-ldpi/logo.png b/app/src/custom/res/drawable-ldpi/logo.png Binary files differnew file mode 100644 index 00000000..4e22d99f --- /dev/null +++ b/app/src/custom/res/drawable-ldpi/logo.png diff --git a/app/src/custom/res/drawable-mdpi/logo.png b/app/src/custom/res/drawable-mdpi/logo.png Binary files differnew file mode 100644 index 00000000..e53cb15c --- /dev/null +++ b/app/src/custom/res/drawable-mdpi/logo.png diff --git a/app/src/custom/res/drawable-xhdpi/ic_splash_background.png b/app/src/custom/res/drawable-xhdpi/ic_splash_background.png Binary files differnew file mode 100644 index 00000000..c2135c04 --- /dev/null +++ b/app/src/custom/res/drawable-xhdpi/ic_splash_background.png diff --git a/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png b/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png Binary files differnew file mode 100644 index 00000000..1b8046fa --- /dev/null +++ b/app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png diff --git a/app/src/custom/res/drawable-xxxhdpi/logo.png b/app/src/custom/res/drawable-xxxhdpi/logo.png Binary files differnew file mode 100644 index 00000000..4297d90c --- /dev/null +++ b/app/src/custom/res/drawable-xxxhdpi/logo.png 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" /> |