Last active
December 16, 2015 01:38
-
-
Save richardleggett/5356119 to your computer and use it in GitHub Desktop.
Android ImageButton that automatically darkens on press, as with iOS UIButton's default highlight. The draw() method is overridden to alpha out the button if disabled. The idea is you quickly get button states without providing state list drawables.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment