Android: Best method for creating buttons in non-standard UI? ie: yes or no screen with custom background and options -
Android: Best method for creating buttons in non-standard UI? ie: yes or no screen with custom background and options -
i've been wondering while. what's best method create custom buttons? have image, contains background yes , no. should have artists create image words yes , no separate, or there way create buttons on top of background? perhaps create buttons transparent? thanks!
use button class custom background drawable , desired text styling. background drawable should state list selector. allow define separate 9-patch each state - pressed, enabled, disabled, focused, etc. text drawn scheme on top of button, allowing utilize localized string resources back upwards multiple languages.
android button
Comments
Post a Comment