portrait Mode Dont Work! Help please
Posted: Fri Aug 07, 2020 9:59 pm
Please help only Landscape mode always! Cant switch to Portrait Only!
android:screenOrientation="sensorPortrait"
tested
android:screenOrientation="Portrait"
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest package="game.love"
android:versionCode="18"
android:versionName="2.1.0"
android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<!--Uncomment line below if your game uses microphone capabilities. !-->
<!--uses-permission android:name="android.permission.RECORD_AUDIO" /!-->
<uses-feature android:glEsVersion="0x00020000"/>
<application
android:allowBackup="true"
android:icon="@drawable/love"
android:label="${GameName}"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>
<activity
android:configChanges="orientation|screenSize"
android:label="${GameName}"
android:launchMode="singleTask"
android:name="org.love2d.android.GameActivity"
android:screenOrientation="sensorPortrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
</application>
android:screenOrientation="sensorPortrait"
tested
android:screenOrientation="Portrait"
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest package="game.love"
android:versionCode="18"
android:versionName="2.1.0"
android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<!--Uncomment line below if your game uses microphone capabilities. !-->
<!--uses-permission android:name="android.permission.RECORD_AUDIO" /!-->
<uses-feature android:glEsVersion="0x00020000"/>
<application
android:allowBackup="true"
android:icon="@drawable/love"
android:label="${GameName}"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>
<activity
android:configChanges="orientation|screenSize"
android:label="${GameName}"
android:launchMode="singleTask"
android:name="org.love2d.android.GameActivity"
android:screenOrientation="sensorPortrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
</application>