diff options
author | Andrew Sapperstein <asapperstein@google.com> | 2016-06-20 12:48:22 -0700 |
---|---|---|
committer | Andrew Sapperstein <asapperstein@google.com> | 2016-06-30 14:17:19 -0700 |
commit | 5f7750d75c83b13facf57988e1f042ce8af9abd6 (patch) | |
tree | b5ae3fe17a2ce8de81bf56ff33ffeb4d0af17573 /res/layout/widgets_list_row_view.xml | |
parent | 26def23702881867208bfc465af27a4f9afc26f6 (diff) | |
download | android_packages_apps_Trebuchet-5f7750d75c83b13facf57988e1f042ce8af9abd6.tar.gz android_packages_apps_Trebuchet-5f7750d75c83b13facf57988e1f042ce8af9abd6.tar.bz2 android_packages_apps_Trebuchet-5f7750d75c83b13facf57988e1f042ce8af9abd6.zip |
Use colorSecondary for darker bg color.
Used for widget headers and a few other places.
In order to support pre-API 25, an app-local version of colorSecondary
is created and used throughout the app. A new WidgetContainerTheme
sets colorSecondary to a canned value. On API 25+, colorSecondary
is set to the platform value.
Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00
Fixes: 28625102
Diffstat (limited to 'res/layout/widgets_list_row_view.xml')
-rw-r--r-- | res/layout/widgets_list_row_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/widgets_list_row_view.xml b/res/layout/widgets_list_row_view.xml index c0219b96f..4687b3891 100644 --- a/res/layout/widgets_list_row_view.xml +++ b/res/layout/widgets_list_row_view.xml @@ -30,7 +30,7 @@ android:id="@+id/section" android:layout_width="match_parent" android:layout_height="@dimen/widget_section_height" - android:background="@color/quantum_panel_bg_color_dark" + android:background="?attr/colorSecondary" android:drawablePadding="@dimen/widget_section_horizontal_padding" android:ellipsize="end" android:focusable="true" |