Added disable state for toggle
This commit is contained in:
parent
95c472009f
commit
2fd6db60ac
1 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,15 @@
|
|||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_checked="false">
|
||||
<item android:state_checked="false" android:state_enabled="true">
|
||||
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
|
||||
<solid android:color="@color/md_white_1000" />
|
||||
<corners android:radius="10dp" />
|
||||
<size android:width="20dp" android:height="20dp" />
|
||||
<stroke android:width="8dp" android:color="#0000ffff" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_checked="true" android:state_enabled="true">
|
||||
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
|
||||
<solid android:color="@color/md_white_1000" />
|
||||
<corners android:radius="10dp" />
|
||||
|
|
Loading…
Reference in a new issue