project_files/Android-build/SDL-android-project/res/drawable-mdpi/button.xml
author Wuzzy <Wuzzy2@mail.ru>
Mon, 16 Jul 2018 20:28:01 +0200
changeset 13490 4faebbf9c44f
parent 7568 75ba91f14ed5
permissions -rw-r--r--
Fix hwengine crash when using >1 controllers Reason: Data type mismatch for SDL_JoystickName, we wed in an index, but it expected a controller handle. Solution: Switch to SDL_JoystickNameForIndex.

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/button_focused" />
    <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/button_focused_disabled" />
    <item android:state_focused="false" android:state_enabled="true" android:drawable="@drawable/button_normal" />
    <item android:state_focused="false" android:state_enabled="false" android:drawable="@drawable/button_disabled" />
</selector>