aboutsummaryrefslogtreecommitdiff
path: root/tools/android
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2024-04-27 19:34:41 +1000
committerGitHub <noreply@github.com>2024-04-27 19:34:41 +1000
commitca7bc81f49ce618a84e5725eca3a388757901832 (patch)
treee1dcb3fd9e90d93a396f48e7c779e30df869ac68 /tools/android
parent0e08ee84656c2047d02b9e0b83d4dfb73ee4dba9 (diff)
parent8d8f636f9b5880d17fb8f68be91187de58160037 (diff)
Merge pull request #25057 from joseluismarti/splash-layout
[Android] Update Splash screen layout definition
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/packaging/xbmc/res/layout/activity_splash.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/android/packaging/xbmc/res/layout/activity_splash.xml b/tools/android/packaging/xbmc/res/layout/activity_splash.xml
index 42e2e29333..39c2b6e30e 100644
--- a/tools/android/packaging/xbmc/res/layout/activity_splash.xml
+++ b/tools/android/packaging/xbmc/res/layout/activity_splash.xml
@@ -7,11 +7,10 @@
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_centerHorizontal="true"
android:adjustViewBounds="true"
- android:layout_alignParentTop="true"
android:scaleType="centerCrop"
- android:src="@drawable/applaunch_screen" />
+ android:src="@drawable/applaunch_screen"
+ android:contentDescription="@string/app_name" />
<RelativeLayout
android:layout_width="wrap_content"
@@ -23,8 +22,8 @@
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginLeft="20dp"
@@ -41,7 +40,7 @@
android:layout_centerHorizontal="true"
android:text=""
android:textColor="@android:color/white"
- android:textSize="16dp" />
+ android:textSize="16sp" />
</RelativeLayout>
</FrameLayout>