Restore checkbox checked color to colorControlActivated
Bug: 20683633 Change-Id: I8997ad5829eda7afa03b7c56d4f44e4abfe34bee
This commit is contained in:
@@ -15,15 +15,24 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:state_checked="true" android:id="@+id/on"
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/on"
|
||||||
|
android:state_checked="true"
|
||||||
android:drawable="@drawable/ic_checkbox_checked" />
|
android:drawable="@drawable/ic_checkbox_checked" />
|
||||||
<item android:id="@+id/off"
|
|
||||||
|
<item
|
||||||
|
android:id="@+id/off"
|
||||||
android:drawable="@drawable/ic_checkbox_unchecked" />
|
android:drawable="@drawable/ic_checkbox_unchecked" />
|
||||||
|
|
||||||
<transition android:fromId="@+id/off" android:toId="@+id/on"
|
<transition
|
||||||
|
android:fromId="@+id/off"
|
||||||
|
android:toId="@+id/on"
|
||||||
android:drawable="@drawable/ic_checkbox_unchecked_animation" />
|
android:drawable="@drawable/ic_checkbox_unchecked_animation" />
|
||||||
|
|
||||||
<transition android:fromId="@+id/on" android:toId="@+id/off"
|
<transition
|
||||||
|
android:fromId="@+id/on"
|
||||||
|
android:toId="@+id/off"
|
||||||
android:drawable="@drawable/ic_checkbox_checked_animation" />
|
android:drawable="@drawable/ic_checkbox_checked_animation" />
|
||||||
</animated-selector>
|
|
||||||
|
|
||||||
|
</animated-selector>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
android:viewportWidth="48"
|
android:viewportWidth="48"
|
||||||
android:height="32dp"
|
android:height="32dp"
|
||||||
android:viewportHeight="48"
|
android:viewportHeight="48"
|
||||||
android:tint="?attr/colorControlNormal" >
|
android:tint="?attr/colorControlActivated" >
|
||||||
<group
|
<group
|
||||||
android:name="icon_null"
|
android:name="icon_null"
|
||||||
android:translateX="24"
|
android:translateX="24"
|
||||||
|
|||||||
Reference in New Issue
Block a user