Resources does not let you access themes -- it doesn't know about a Theme,
since there is one Resources object for you application, but an arbitrary
number of themes.
Typically to load themed resources, you would do what standard views and
widgets do -- declare a styleable array of all of the attr
In my case I need to be able apply a color conditionally (for example
based if an item is read or unread) so I need to be able to read the
"read" and "unread" colors from the current theme and apply them
appropriately.
I gave the color special attribute name in my \attr xml file and
assigned it di
2 matches
Mail list logo