Skip to content
Snippets Groups Projects
Commit b86acf45 authored by Janak Amarasena's avatar Janak Amarasena
Browse files

Added logo and splash resources to custom res

parent 95261cf5
No related branches found
No related tags found
No related merge requests found
app/src/custom/res/drawable-hdpi/ic_splash_background.png

38.8 KiB

app/src/custom/res/drawable-ldpi/logo.png

8.54 KiB

app/src/custom/res/drawable-mdpi/logo.png

6.18 KiB

app/src/custom/res/drawable-xhdpi/ic_splash_background.png

63.3 KiB

app/src/custom/res/drawable-xxxhdpi/ic_splash_background.png

129 KiB

app/src/custom/res/drawable-xxxhdpi/logo.png

42.2 KiB

<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <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--> <!--Change gravity to best fit background image to screen-->
<item android:drawable="@drawable/ic_splash_background" <item android:drawable="@drawable/ic_splash_background"
android:gravity="fill_horizontal|fill_vertical" /> android:gravity="fill_horizontal|fill_vertical" />
<!--If a foreground image is not need remove this <item> tag--> <!--If a foreground image is not need remove this <item> tag-->
<item> <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 <bitmap
android:src="@drawable/logo" android:src="@drawable/logo"
android:gravity="center" /> android:gravity="center" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment