From 9d3c811cd11669677066abe73af8883b5fb1924b Mon Sep 17 00:00:00 2001 From: Julia Kawano Date: Wed, 30 Sep 2020 00:32:18 +0000 Subject: [PATCH] UI fixes for system bars - Darken alpha on unselected nav bar icons - Add ripple effect to status icons pill and driver username pill Bug: 169711878 Test: manual Change-Id: Ida126155a93948ec4990556ffb675d94e3c87369 --- .../drawable/system_bar_background_pill.xml | 23 ++++++++++++++----- packages/CarSystemUI/res/values/styles.xml | 1 + 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/packages/CarSystemUI/res/drawable/system_bar_background_pill.xml b/packages/CarSystemUI/res/drawable/system_bar_background_pill.xml index 1b12eb404d5ea..51d2b9d3e1e06 100644 --- a/packages/CarSystemUI/res/drawable/system_bar_background_pill.xml +++ b/packages/CarSystemUI/res/drawable/system_bar_background_pill.xml @@ -14,9 +14,20 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/packages/CarSystemUI/res/values/styles.xml b/packages/CarSystemUI/res/values/styles.xml index f242db0aec092..f5de2fde7b1a1 100644 --- a/packages/CarSystemUI/res/values/styles.xml +++ b/packages/CarSystemUI/res/values/styles.xml @@ -49,5 +49,6 @@ @dimen/system_bar_button_padding center ?android:attr/selectableItemBackground + 0.56 \ No newline at end of file