S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
07/03/14 05:34 PM (9 years ago)

How can I force the app to stay in a Horizontal layout ?

Hi I am building an in house app and it will be used on android tablets. My question is. How can I force the app to stay in a Horizontal layout?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/03/14 05:45 PM (9 years ago)
Open your AndroidManifest file and scroll down until you find the line beginning with: <activity android:name=".BT_activity_host" Inside that activity tag, add this: android:screenOrientation="landscape"
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
07/03/14 11:41 PM (9 years ago)
How about for iOS app, how to stay in Landscape mode? ( just asking for those who find this in the future -- for completeness sake )
 
S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
like
07/04/14 05:41 AM (9 years ago)
Thanks chris1.. Works fine :-)
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
07/04/14 10:38 AM (9 years ago)
 
S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
like
07/04/14 10:40 AM (9 years ago)
Thank you Nadthevlad.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.