Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <selector xmlns:android="http://schemas.android.com/apk/res/android">
  3. <item android:state_pressed="true"
  4. android:drawable="@drawable/button_pressed" />
  5. <item android:state_focused="true" android:state_enabled="true"
  6. android:state_window_focused="true"
  7. android:drawable="@drawable/button_focused" />
  8. <item
  9. android:drawable="@drawable/button_background" />
  10. <!-- this is where we're setting the default, your shape -->
  11. </selector>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement