[android-developers] Configure app to work horizontal and vertical?

2010-01-16 Thread qmwestview
Hi,
Is it possible to configure all layouts of an Android app to support
BOTH landscape and portrait mode so that the app will work both when
phone is held vertically and horizontally. From my brief reading, it
seems not. Am I right?
-- 
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

Re: [android-developers] Configure app to work horizontal and vertical?

2010-01-16 Thread Matt Oakes
Nope, you can support both.

When you define your layout in the xml files it will allow it to be
displayed in both portrait and landscape. You can also define special
layouts for landscape if you like.

Take a good look at the notepad tutorial in the developer docs and you
can see how it changes to landscape in the emulator by pressing
ctrl+F11.

Have fun :)

On Sat, Jan 16, 2010 at 9:59 PM, qmwestview qmwestv...@googlemail.com wrote:
 Hi,
 Is it possible to configure all layouts of an Android app to support
 BOTH landscape and portrait mode so that the app will work both when
 phone is held vertically and horizontally. From my brief reading, it
 seems not. Am I right?

 --
 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

-- 
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