From fc2b5d419e691082743725b1094a1ccb58ee15db Mon Sep 17 00:00:00 2001 From: X1nto Date: Wed, 29 Jul 2020 11:00:23 +0400 Subject: [PATCH] possible fix of attribute parsing --- .../src/main/res/layout/preference_switch_bar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play-services-core/src/main/res/layout/preference_switch_bar.xml b/play-services-core/src/main/res/layout/preference_switch_bar.xml index 08ad6530..b9bcfe13 100755 --- a/play-services-core/src/main/res/layout/preference_switch_bar.xml +++ b/play-services-core/src/main/res/layout/preference_switch_bar.xml @@ -39,7 +39,7 @@ android:paddingLeft="?attr/listPreferredItemPaddingLeft" android:paddingEnd="?attr/listPreferredItemPaddingEnd" android:paddingRight="?attr/listPreferredItemPaddingRight" - app:backgroundColorAttr="@{checked ? androidx.appcompat.R.attr.colorControlActivated : (enabled ? androidx.appcompat.R.attr.colorButtonNormal : androidx.appcompat.R.attr.colorControlHighlight)}" + app:backgroundColorAttr="@{checked ? android.R.attr.colorControlActivated : (enabled ? android.R.attr.colorButtonNormal : android.R.attr.colorControlHighlight)}" tools:background="?attr/colorControlActivated">