[android-developers] Where is the View.setStyle() method?
Hi,
Is there a way to set a style for a View at runtime? I've seen this
question a few times on the board here but no answers, so probably
not:
<ImageView
android:id="@+id/blah"
style="@style/mystyle"
/>
// later...
ImageView iv = (ImageView)findViewById(...);
iv.setStyle(R.style.myotherstyle);
is it not possible to do something like this? We have to manually
change everything in code instead?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home