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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to