From 1889a57132e293cb7cf9959b4f3d0721b4ed37f9 Mon Sep 17 00:00:00 2001 From: Anna Zappone Date: Thu, 22 Apr 2021 20:05:35 +0000 Subject: [PATCH] Polish updates - Fix strings for accessibility - Use newly added targetCellHeight and reduce placeholder padding to fit the lower cell heights of some devices - Remove shadow from Work Profile badged icon Bug: 184857890, 185137298, 185891880 Test: local Change-Id: Ia0b93c80b1019c805b9644bb1d51b009fc529ebe --- .../people_space_placeholder_layout.xml | 2 +- packages/SystemUI/res/values/strings.xml | 6 ++--- .../res/xml/people_space_widget_info.xml | 2 +- .../people/PeopleStoryIconFactory.java | 22 +++++++++++++------ 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/packages/SystemUI/res/layout/people_space_placeholder_layout.xml b/packages/SystemUI/res/layout/people_space_placeholder_layout.xml index 2402bd710eca9..abb771b98667c 100644 --- a/packages/SystemUI/res/layout/people_space_placeholder_layout.xml +++ b/packages/SystemUI/res/layout/people_space_placeholder_layout.xml @@ -26,7 +26,7 @@ android:orientation="horizontal" android:gravity="center" android:layout_gravity="top" - android:paddingVertical="16dp" + android:paddingVertical="8dp" android:paddingHorizontal="16dp" android:layout_width="match_parent" android:layout_height="match_parent"> diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index e55142bcde28e..feee585ac07b4 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -2904,15 +2904,15 @@ Birthday - It\’s %1$s\’s birthday + It\'s %1$s\’s birthday Birthday soon - It\’s %1$s\’s birthday soon + It\'s %1$s\’s birthday soon Anniversary - It\’s %1$s\’s anniversary + It\'s %1$s\’s anniversary Sharing location diff --git a/packages/SystemUI/res/xml/people_space_widget_info.xml b/packages/SystemUI/res/xml/people_space_widget_info.xml index 68e6ca8f3f216..cce27e71dbd2d 100644 --- a/packages/SystemUI/res/xml/people_space_widget_info.xml +++ b/packages/SystemUI/res/xml/people_space_widget_info.xml @@ -16,7 +16,7 @@