summaryrefslogtreecommitdiff
path: root/app/src/custom/res/drawable/splash_page.xml
blob: 48a622acc38857af201af6fe6053cdb3a528ade3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<!--
********************************************************************
Splash screen for Android 4.1 - Android 11

You need to adapt:
> splash_branding.xml
> splash_icon.xml
for Android 12+.
********************************************************************
-->
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">

 <!--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> -->
  <!--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" /> -->
<!--</item>-->

</layer-list>