commit | 8eccd2d6ad87ef3dba5a95830bc7de9bb75dc826 | [log] [tgz] |
---|---|---|
author | tmfang <tmfang@google.com> | Thu Jan 03 11:13:33 2019 +0800 |
committer | Tsung-Mao Fang <tmfang@google.com> | Thu Jan 03 03:59:34 2019 +0000 |
tree | b41a81f91484e7ed7f42fc6eea3c87a6af9480f3 | |
parent | 0995402a41db79f761242dcd0c244f0c8607a396 [diff] |
Make background of spinner become white color If background is transparent, user will see the content under this widget. So change it to white color. Test: visual Bug: 121148001 Change-Id: I1b10c83e9bc68e95c1d9720c62feb31fb7ab7e2b
diff --git a/packages/SettingsLib/SettingsSpinner/res/drawable/settings_spinner_background.xml b/packages/SettingsLib/SettingsSpinner/res/drawable/settings_spinner_background.xml index cbebbb3..d6dc211 100644 --- a/packages/SettingsLib/SettingsSpinner/res/drawable/settings_spinner_background.xml +++ b/packages/SettingsLib/SettingsSpinner/res/drawable/settings_spinner_background.xml
@@ -18,12 +18,11 @@ <layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:paddingMode="stack"> <item> - <shape - android:tint="?android:attr/colorForeground"> + <shape> <corners android:radius="20dp"/> <solid - android:color="@android:color/transparent"/> + android:color="?android:attr/colorPrimary"/> <stroke android:color="#1f000000" android:width="1dp"/>