Screen Orientation

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Screen Orientation

Postby VarwigSoftware » Fri Oct 23, 2009 5:11 am

I have a webview that changes orientation then freezes the program. Is there java code that will force a orientation change not to happen? Thank You in Advance
VarwigSoftware
Freshman
Freshman
 
Posts: 2
Joined: Sat Oct 17, 2009 4:45 am

Top

Postby qlimax » Fri Oct 23, 2009 12:56 pm

android:screenOrientation="portrait" (or landscape, others...) in your manifest will do it .

http://developer.android.com/guide/topi ... ement.html



cya :run:
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 7 guests