tags:

views:

44

answers:

1

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?

+2  A: 

Dynamic style change is not currently supported. You must set the style before the view is create (in xml).

BrennaSoft
what class i have to use for that?
Praveen Chandrasekaran
You just put style="@style/test" in the definition for your TextView in the layout xml file.
BrennaSoft
sorry for the communication gap.
Praveen Chandrasekaran