Added disable state for toggle

This commit is contained in:
h4h13 2019-09-29 15:13:00 +05:30
parent 95c472009f
commit 2fd6db60ac

View file

@ -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" />