Hi, in Android Manifest I have indicated the app t...
# android
o
Hi, in Android Manifest I have indicated the app to open in landscape mode, but how do I turn the preview horitontally?
Copy code
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="<http://schemas.android.com/apk/res/android>"
    xmlns:tools="<http://schemas.android.com/tools>">

    <application
        android:allowBackup="true"
        android:dataExtractionRules="@xml/data_extraction_rules"
        android:fullBackupContent="@xml/backup_rules"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.StandbyX"
        tools:targetApi="31">
        <activity
            android:name=".MainActivity"
            android:screenOrientation="landscape"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
not kotlin but kotlin colored 4
👀 1
c
Have you tried pushing the buttons on the toolbar in your emulator image ? there are 2 rotate buttons present
1
o
ty, new to android development
k
Remember, the manifest is not to be used for testing but to specify what orientations it supports
🙌 1