is there a way to have a view use a different layout when an
orientation change occurs.

suppose i want the view to look one way in portrait and another way in
landscape -- all the same data, but arranged differently.

I'm thinking one way to do this would be to have two different linear
layouts with android:visibility="gone" and simply display the
appropriate one (set android:visibility="visible") based on
orientation -- i.e. do this from code.

is there a way to do this in xml?  or something like this (i.e. in
landscape, put the textview here, in portrait, put it here instead)?

tia.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to