[android-developers] Re: Change layout for different orientation

2008-11-16 Thread hodg
Thx guys, worked like a charm! On Nov 16, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Check out the following links. I haven't looked in to them too much, > but I think you will find your answer here: > > http://androidguys.com/?p=2084http://androidguys.com/?p=2642http://androidguys

[android-developers] Re: Change layout for different orientation

2008-11-16 Thread hodg
Thanks guys, worked like a charm! On Nov 15, 4:12 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > hodg wrote: > > I was hoping someone might guide me in the best direction.  I want to > > apply a different layout depending on the orientation of the phone. > > For example, when the keyboard is closed

[android-developers] Re: Change layout for different orientation

2008-11-16 Thread [EMAIL PROTECTED]
Check out the following links. I haven't looked in to them too much, but I think you will find your answer here: http://androidguys.com/?p=2084 http://androidguys.com/?p=2642 http://androidguys.com/?p=2723 hodg wrote: > I was hoping someone might guide me in the best direction. I want to > ap

[android-developers] Re: Change layout for different orientation

2008-11-15 Thread Mark Murphy
hodg wrote: > I was hoping someone might guide me in the best direction. I want to > apply a different layout depending on the orientation of the phone. > For example, when the keyboard is closed, I want to apply > main_vertical.xml. When its in landscape, main_landscape.xml. What > is the best

[android-developers] Re: Change layout for different orientation

2008-11-15 Thread Romain Guy
Hi, You currently have a layout in res/layout/main.xml. Simply create another layout in res/layout-land/main.xml and that's it! res/layout is the default configuration, but you can use layout-port for portrait orientation, layout-land for landscape, layout-fr for a layout when the phone is in Fre