Useful notes & manuals
from the
world wide web
L:
P:
Register now!
Screen rotation disable Android
Source code from: unknown Created by tlw on 16.10.2019 @ 02:28

AndroidManifest.xml

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

or

Java

setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

orientation   rotate   screen   landscape   portrait   turn
 
Created by THE LOST WEB © 2009-2012