Merge "Update Back arrow colors" into udc-dev am: 60321d82b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23500449 Change-Id: I985511485556f8920fca2f68e8922eb1a284c260 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user