We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df3331 commit 41418ecCopy full SHA for 41418ec
core/java/android/widget/ImageButton.java
@@ -44,11 +44,11 @@
44
* <pre>
45
* <?xml version="1.0" encoding="utf-8"?>
46
* <selector xmlns:android="http://schemas.android.com/apk/res/android">
47
- * <item android:drawable="@drawable/button_normal" /> <!-- default -->
48
* <item android:state_pressed="true"
49
* android:drawable="@drawable/button_pressed" /> <!-- pressed -->
50
* <item android:state_focused="true"
51
* android:drawable="@drawable/button_focused" /> <!-- focused -->
+ * <item android:drawable="@drawable/button_normal" /> <!-- default -->
52
* </selector></pre>
53
*
54
* <p>Save the XML file in your project {@code res/drawable/} folder and then
0 commit comments