diff --git a/res/layout/homepage_preference.xml b/res/layout/homepage_preference.xml index f0b1b71c20c..38cb4910d81 100644 --- a/res/layout/homepage_preference.xml +++ b/res/layout/homepage_preference.xml @@ -17,6 +17,7 @@ #783BE5 #3F5FBD @*android:color/material_grey_900 - ?androidprv:attr/materialColorSurfaceContainerHigh + ?androidprv:attr/materialColorSurfaceBright #5F6368 diff --git a/res/values/styles.xml b/res/values/styles.xml index 0a28b016ca9..fe2084f02ad 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -249,7 +249,7 @@ center @*android:string/config_headlineFontFamily @dimen/search_bar_text_size - ?android:attr/textColorSecondary + ?androidprv:attr/materialColorOnSurfaceVariant true diff --git a/src/com/android/settings/Utils.java b/src/com/android/settings/Utils.java index 6e36ee36733..c38ebfe0069 100644 --- a/src/com/android/settings/Utils.java +++ b/src/com/android/settings/Utils.java @@ -1289,7 +1289,8 @@ public final class Utils extends com.android.settingslib.Utils { */ @ColorInt public static int getHomepageIconColor(Context context) { - return getColorAttrDefaultColor(context, android.R.attr.textColorPrimary); + return getColorAttrDefaultColor( + context, com.android.internal.R.attr.materialColorOnSurface); } /**