开发者

Applying style dynamically

开发者 https://www.devze.com 2023-01-11 15:58 出处:网络
I\'d like to dynamically apply styles to my views at runtime. Is there any method l开发者_Python百科ike View.setStyle(int style)?

I'd like to dynamically apply styles to my views at runtime. Is there any method l开发者_Python百科ike View.setStyle(int style)?

Thanks


There is no way at this time to set a Style dynamically. You might want to set all parameters for a style in one method and apply it to your View, but apart from that, there is no equivalent of a setStyle method. Check here for full discussion.

0

精彩评论

暂无评论...
验证码 换一张
取 消