Lock Android MainActivity to portrait #72
@@ -22,9 +22,14 @@
|
|||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:targetApi="34">
|
tools:targetApi="34">
|
||||||
|
|
||||||
|
<!-- Portrait-locked until a tablet/landscape layout exists.
|
||||||
|
Current Compose screens are sized for phone-portrait;
|
||||||
|
landscape just stretches the column awkwardly. Revisit
|
||||||
|
this when a dedicated tablet layout lands. -->
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
android:screenOrientation="portrait"
|
||||||
android:theme="@style/Theme.Minstrel">
|
android:theme="@style/Theme.Minstrel">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
Reference in New Issue
Block a user