Android的风格变化动态 [英] android change style dynamically
本文介绍了Android的风格变化动态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经describef我的对象(对象是什么没关系)在styles.xml的属性。我想在styles.xml动态改变这些属性。
I've describef properties of my objects (nevermind what the object is) in styles.xml. I would like to change these properties dynamically in styles.xml.
有谁知道我该怎么做呢?
Does anybody know how can I do that?
推荐答案
我看到矛盾这个问题的答案。这是说是,但是这说的无。我看着在查看了android文档和无法找到任何的setStyle方法。
I am seeing contradicting answers to this question. This says yes, but this says no. I looked at the android docs for the View and can not find any setStyle method.
这篇关于Android的风格变化动态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文