[Android]How to set the screen direction and make it display in FullScreen?
-
Have you tried setting the orientation in the AndroidManifest.xml file?
@
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"
android:name="org.qtproject.qt5.android.bindings.QtActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >@Add the* android:screenOrientation* part and your app will always be in landscape mode i.e, "Lie down" mode :)