I understand that Android is "engineered" towards the xml definition
of styles and layouts. For this there is a mountain of documentation
and experience. This, unfortunately, does not help my case since I
need to layout views programmatically (I am implementing a run-time
system) while accessing and applying (xml) styles. On this, I could
find nothing.

Example of my challenges:

1) I would like to extract (programmatically) the primary text color
of the theme currently set and apply this (programmatically) to my
TextView (contained in a LinearLayout).

2) I would like to specify (xml) the style of some elements and apply
them (programmatically, without setters) to my TextView (contained in
a LinearLayout)

3) I would like to instruct (programmatically) my ListItem to change
the color of its textual labels upon selection/focus/click (like the
standard Android behaviour)

Can someone point me in the right direction?

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