DavidG wrote:
> Is there any documentation that explains how to create buttons in the
> style of the new market app on the top of the screen? 

Step #1: Create GradientDrawables with the gradients you want for the
various states (normal, pressed, etc.), perhaps through <shape> XML
drawable files.

Step #2: Create a StateListDrawable with the aforementioned gradients,
perhaps using a <selector> XML drawable file.

Step #3: Apply the StateListDrawable as the background for the Button.

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

_Android Programming Tutorials_ Version 1.0 In Print!

--~--~---------~--~----~------------~-------~--~----~
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