From 5b66e143ccf158db32b7b69fffeb7df02af72327 Mon Sep 17 00:00:00 2001 From: Andrew Sapperstein Date: Sat, 11 Jun 2016 12:12:44 -0700 Subject: [PATCH] Update Settings to use DeviceDefault.Settings. BUG: 28625050 Change-Id: Id283703a309cf27bb284147421614196e903c660 --- res/layout/sliding_tab_indicator_view.xml | 3 ++- res/values/colors.xml | 5 ----- res/values/themes.xml | 18 +++++------------- .../settings/applications/LinearColorBar.java | 9 ++------- .../applications/RunningProcessesView.java | 10 ++-------- .../FingerprintLocationAnimationView.java | 11 +++++------ .../ImportanceSeekBarPreference.java | 8 ++------ 7 files changed, 18 insertions(+), 46 deletions(-) diff --git a/res/layout/sliding_tab_indicator_view.xml b/res/layout/sliding_tab_indicator_view.xml index c5f61db571b..b594c8b2dcf 100644 --- a/res/layout/sliding_tab_indicator_view.xml +++ b/res/layout/sliding_tab_indicator_view.xml @@ -19,4 +19,5 @@ android:id="@+id/sliding_tab_selected_indicator" android:layout_width="wrap_content" android:layout_height="@dimen/pager_tabs_selected_indicator_height" - android:background="@color/accent_color_lighter"/> + android:background="?android:attr/colorAccent" + android:theme="@*android:style/ThemeOverlay.DeviceDefault.Accent" /> diff --git a/res/values/colors.xml b/res/values/colors.xml index b2d043f6a88..ccc521c2c80 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -100,7 +100,6 @@ #4d000000 - #5e97f6 #4285F4 #3367D6 @@ -125,11 +124,7 @@ #eeeeee - @color/material_blue_grey_900 - @color/material_blue_grey_950 #ff37474f - @color/accent_material_light - #ff7fcac3 #f5f5f5 diff --git a/res/values/themes.xml b/res/values/themes.xml index 70c51467ab9..1268e4d42f2 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -129,9 +129,7 @@ layouts against a remote context using our local theme colors. Due to the implementation details of Theme, we can't reference any local resources and MUST instead use the values directly. So use #ff263238 instead of @color/theme_primary and so on. --> - @@ -195,8 +193,7 @@ @dimen/actionbar_subsettings_contentInsetStart - - - -