Merge "Update Back arrow colors" into udc-dev

This commit is contained in:
Marvin Bernal
2023-06-02 16:14:37 +00:00
committed by Android (Google) Code Review

View File

@@ -157,17 +157,17 @@ class BackPanel(
arrowPaint.color = Utils.getColorAttrDefaultColor(context, arrowPaint.color = Utils.getColorAttrDefaultColor(context,
if (isDeviceInNightTheme) { if (isDeviceInNightTheme) {
com.android.internal.R.attr.colorAccentPrimary com.android.internal.R.attr.materialColorOnSecondaryContainer
} else { } else {
com.android.internal.R.attr.textColorPrimary com.android.internal.R.attr.materialColorOnSecondaryFixed
} }
) )
arrowBackgroundPaint.color = Utils.getColorAttrDefaultColor(context, arrowBackgroundPaint.color = Utils.getColorAttrDefaultColor(context,
if (isDeviceInNightTheme) { if (isDeviceInNightTheme) {
com.android.internal.R.attr.materialColorOnSecondary com.android.internal.R.attr.materialColorSecondaryContainer
} else { } else {
com.android.internal.R.attr.colorAccentSecondary com.android.internal.R.attr.materialColorSecondaryFixedDim
} }
) )
} }