views:

34

answers:

1

I am wondering how I can make the orientation of the screen permanent, even when the phone has a slide-out keyboard. This is the code I have:

<activity android:name=".AppName" android:label="@string/app_name"
android:screenOrientation="portrait">

Thanks.

+3  A: 

Try adding:

android:configChanges="orientation|keyboardHidden"
Macarse
Perfect. Thank you :)
TehGoose