Re: [android-developers] Specifying LinearLayout orientation in resource "values"

2010-04-20 Thread Justin Giles
I suppose you could change the orientation in code. After you assign the view in your onCreate, do a check to see whether the user is on landscape or portrait mode and set the orientation value accordingly. This should be a bit more fool-proof than your method, however it could have its own drawb

[android-developers] Specifying LinearLayout orientation in resource "values"

2010-04-20 Thread westmeadboy
I have a linear layout where the orientation needs to be "horizontal" in portrait mode and "vertical" in landscape mode. There are a few ways to do this, the most obvious of which being to specify two layouts: one in "layout" and one in "layout-land". However, this will require a certain amount o