From ff6fe213759a276b29ef3993e0ffb5525a10052f Mon Sep 17 00:00:00 2001 From: wilsonshih Date: Thu, 25 Feb 2021 15:18:22 +0800 Subject: [PATCH] Provide content label for splash screen view. Add content description for app icon and branding image on the splash screen view. Bug: 180974034 Test: build/flash Change-Id: I2c14492463605d7fc83311d8d6f281896ad75a6e --- core/res/res/layout/splash_screen_view.xml | 10 ++++++---- core/res/res/values/strings.xml | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/core/res/res/layout/splash_screen_view.xml b/core/res/res/layout/splash_screen_view.xml index 513da5e431e55..e6d724f1ecb2a 100644 --- a/core/res/res/layout/splash_screen_view.xml +++ b/core/res/res/layout/splash_screen_view.xml @@ -21,14 +21,16 @@ android:orientation="vertical"> + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_gravity="center" + android:contentDescription="@string/splash_screen_view_icon_description"/> + android:layout_marginBottom="60dp" + android:contentDescription="@string/splash_screen_view_branding_description"/> \ No newline at end of file diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 3505dee134c06..8f33a95a84203 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -5849,4 +5849,8 @@ ul. Sensor Privacy + + Application icon + + Application branding image