I have to set the style for a TextView
. Which is created by Pro grammatically. I have to implement this attribute style="@style/test"
by programmatically. How to do it?I Checked this link. But i did not get any answer. Any Idea?
views:
44answers:
1
+2
A:
Dynamic style change is not currently supported. You must set the style before the view is create (in xml).
BrennaSoft
2010-07-14 13:17:47
what class i have to use for that?
Praveen Chandrasekaran
2010-07-14 13:21:43
You just put style="@style/test" in the definition for your TextView in the layout xml file.
BrennaSoft
2010-07-14 13:43:31
sorry for the communication gap.
Praveen Chandrasekaran
2010-07-14 14:02:03