On Thu, Jul 1, 2010 at 11:53 AM, ArcDroid <[email protected]> wrote:
> Is there a way to color buttons without loosing the rounding of the
> edges?

Step #1: Create a StateListDrawable containing images that will serve
as your button background, with your desired color for all desired
states

Step #2: apply the StateListDrawable to your button as its background

http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to