Re: [android-developers] Where is the View.setStyle() method?
On Fri, Sep 3, 2010 at 5:42 PM, Mark Wyszomierski wrote: > Is there a way to set a style for a View at runtime? Not that I am aware of, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[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: // 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en