Dynamic style application

I would like to dynamically apply styles to my views at runtime. Is there any method like View.setStyle (int style)?

thank

+5
source share
1 answer

There is currently no way to dynamically set the style. You might want to set all the style parameters in one method and apply it to your view, but there is no equivalent to the setStyle method. Check here for a full discussion.

+4
source

All Articles