button_state.xml 298 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
  <item
    android:state_enabled="true"
    android:drawable="@drawable/button" />
  <item
    android:state_enabled="false"
    android:drawable="@drawable/button_disabled" />
</selector>