Craig wrote:
> I'm sorry if I missed it, but I didn't see what I was looking for
> behind any of those links. I know I can create a custom theme to use
> android attributes; what I want to do is create a custom theme with
> custom attributes, and refer to those in my code.

hi,

all you need to do is obtain current theme by getTheme()

than call on it obtainStyledAttributes()

you will receive TypedArray

and finally you can call any get* on it

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