From 07919c63f241515f15fca9f20b408912a82bdea7 Mon Sep 17 00:00:00 2001 From: Samuel Fufa Date: Tue, 14 Apr 2020 17:37:44 -0700 Subject: [PATCH] Update shortcut icons according to new accessibility standards Bug: 152273720 Bug: 152272310 Test: Manual Change-Id: If9e1c30a27046674cae4189a7cfc6bcfc2e288e9 --- res/layout/system_shortcut_icon_only.xml | 2 +- res/values/attrs.xml | 1 + res/values/dimens.xml | 2 +- res/values/styles.xml | 6 ++++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/res/layout/system_shortcut_icon_only.xml b/res/layout/system_shortcut_icon_only.xml index b8b5b8c1c7..5a81f70bc0 100644 --- a/res/layout/system_shortcut_icon_only.xml +++ b/res/layout/system_shortcut_icon_only.xml @@ -19,7 +19,7 @@ android:layout_width="@dimen/system_shortcut_header_icon_touch_size" android:layout_height="@dimen/system_shortcut_header_icon_touch_size" android:background="?android:attr/selectableItemBackgroundBorderless" - android:tint="?android:attr/textColorHint" + android:tint="?attr/iconOnlyShortcutColor" android:tintMode="src_in" android:padding="@dimen/system_shortcut_header_icon_padding" android:theme="@style/PopupItem" /> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index e946835089..d4cb6d7e97 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -34,6 +34,7 @@ + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 0b589a2ed8..31b12adbf1 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -200,7 +200,7 @@ 24dp 16dp - 40dp + 48dp 48dp 12dp diff --git a/res/values/styles.xml b/res/values/styles.xml index fcc651b7b6..8dbec10e7a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -34,7 +34,7 @@ 46 #66FFFFFF #FFF - #F5F5F5 + #F1F3F4 #E0E0E0 false false @@ -50,6 +50,7 @@ #FF212121 #FF616161 #CCFFFFFF + ?android:attr/textColorSecondary #FF212121 false @@ -92,7 +93,7 @@ 102 #80000000 #3C4043 - #5F6368 + #202124 #757575 @style/WidgetContainerTheme.Dark #FF464646 @@ -102,6 +103,7 @@ #FFCCCCCC true #99FFFFFF + #B3FFFFFF @android:color/white