Android Screen Orientation: Forcing Landscape?
When I switch to a certain activity, I want that activity to show up in landscape mode. In my XML for that actvitiy: android:screenOrientation='landscape' most tutorials stated th
Solution 1:
In your activity tag, instead of just:
android:screenOrientation="landscape"
I would set:
android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden"
It takes care of a few more things for you.
Solution 2:
fixed: the code needed to be in the manifest under the specific activity
Post a Comment for "Android Screen Orientation: Forcing Landscape?"