project_files/Android-build/SDL-android-project/res/drawable-mdpi/button.xml
author unc0rr
Mon, 03 Feb 2014 13:32:09 +0400
changeset 10097 acef073e190f
parent 7568 75ba91f14ed5
permissions -rw-r--r--
Tiny optimization
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7568
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     2
<selector xmlns:android="http://schemas.android.com/apk/res/android">
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     3
    <item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/button_focused" />
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     4
    <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/button_focused_disabled" />
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     5
    <item android:state_focused="false" android:state_enabled="true" android:drawable="@drawable/button_normal" />
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     6
    <item android:state_focused="false" android:state_enabled="false" android:drawable="@drawable/button_disabled" />
75ba91f14ed5 Hedgeroid:
Medo <smaxein@googlemail.com>
parents:
diff changeset
     7
</selector>