Hi there,

I want to extract the current theme's button focus colour (ie 'orange'
in the dark theme) so I can use it draw the focused state of a custom
control.

Can anyone give me or point me to some code that will extract that
particular colour from the current theme's StyledAttributes? There
don't seem to be too many examples out there.
(I realise that focused buttons are probably drawn using drawables,
but is the focus colour stored separately as a colour resource in the
current theme's styles?)

-- 

 A N K ! T......

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

Reply via email to