我可以这样设置样式
ImageView
android:id="@+id/blah"
style="@style/mystyle"
/>
但是有没有办法在运行时为 View 设置样式?喜欢
ImageView iv = (ImageView)findViewById(...);
iv.setStyle(R.style.myotherstyle);
最佳答案
关于android - 我如何在android中设置imageview运行时的风格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10978319/