[android-developers] portrait only

2011-04-01 Thread bob
How do I specify on Android that I want an app to run only in portrait mode and not do anything if the user rotates the device 90 degrees? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] portrait only

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 4:47 PM, bob b...@coolgroups.com wrote: How do I specify on Android that I want an app to run only in portrait mode and not do anything if the user rotates the device 90 degrees? Put android:screenOrientation=portrait for that activity in the manifest. You will probably

Re: [android-developers] portrait only

2011-04-01 Thread TreKing
On Fri, Apr 1, 2011 at 3:54 PM, Mark Murphy mmur...@commonsware.com wrote: Google TV users, in particular, likely will be disinterested in turning their TVs on the side to use portrait-only activities. LOLs ... I'm sure they'll come on a swivel!

Re: [android-developers] portrait only

2011-04-01 Thread Kostya Vasilyev
Or a swing for the user :) 02.04.2011 2:35 пользователь TreKing treking...@gmail.com написал: On Fri, Apr 1, 2011 at 3:54 PM, Mark Murphy mmur...@commonsware.com wrote: Google TV users, in particular, likely will be disinterested in turning their TVs on the side to use portrait-only