On the default (Google) UI, the current pressed-button color is #ffc700. But that is liable to change in the future, and is probably already different on other, OEM-applied UIs. I got that number from just sampling a screen capture; I couldn't find it anywhere in the SDK.
String On Jul 14, 1:52 pm, Ajay <[email protected]> wrote: > Hi, > Is there a way I could get the color that is used when a button is > pressed? I know that the button uses a default selector xml that > consists of the pressed image. But, I am having some custom buttons > for which I want it to be close to the default image used for pressed > state. > > Thank you, > AJ -- 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

