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 ee78a45d066..9905bb91ed6 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -257,7 +257,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 b41650c3264..32bb12769e1 100644 --- a/src/com/android/settings/Utils.java +++ b/src/com/android/settings/Utils.java @@ -1277,7 +1277,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); } /**