From 18f8850521bb7b4b28ab381c53a39b4269c18f2f Mon Sep 17 00:00:00 2001 From: Edgar Wang Date: Tue, 22 Mar 2022 17:57:13 +0800 Subject: [PATCH] Update data_usage_bytes_editor spinner background Bug: 220322347 Test: visual verify Change-Id: I04f83d0a9437f58a073120d8a4b1657db829ec91 --- .../data_bytes_editor_spinner_background.xml | 44 +++++++++++++++++++ res/layout/data_usage_bytes_editor.xml | 3 +- res/values/styles.xml | 5 +++ 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 res/drawable/data_bytes_editor_spinner_background.xml diff --git a/res/drawable/data_bytes_editor_spinner_background.xml b/res/drawable/data_bytes_editor_spinner_background.xml new file mode 100644 index 00000000000..19cfc45bfe6 --- /dev/null +++ b/res/drawable/data_bytes_editor_spinner_background.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/data_usage_bytes_editor.xml b/res/layout/data_usage_bytes_editor.xml index a72352dbf45..23778d90624 100644 --- a/res/layout/data_usage_bytes_editor.xml +++ b/res/layout/data_usage_bytes_editor.xml @@ -39,6 +39,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="center_vertical" - android:entries="@array/bytes_picker_sizes" /> + android:entries="@array/bytes_picker_sizes" + style="@style/DataByteEditorSpinner"/> diff --git a/res/values/styles.xml b/res/values/styles.xml index 4d63689f48a..8e91a9e2421 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -948,4 +948,9 @@ ?android:attr/colorControlHighlight @dimen/dream_item_content_padding + +