Skip to content

Commit

Permalink
Chromebook window manager optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
AChep committed Apr 23, 2022
1 parent 9636a31 commit d8a9a14
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<!-- Chrome OS -->
<meta-data
android:name="WindowManagerPreference:SuppressWindowControlNavigationButton"
android:value="true" />
<meta-data
android:name="WindowManagerPreference:FreeformWindowSize"
android:value="tablet" />
<meta-data
android:name="WindowManagerPreference:FreeformWindowOrientation"
android:value="landscape" />

<application
android:name=".Heart"
android:allowBackup="true"
Expand All @@ -29,6 +40,10 @@

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

<layout
android:defaultWidth="640dp"
android:defaultHeight="480dp" />
</activity>
<activity
android:name=".ui.activities.LabActivity"
Expand Down

0 comments on commit d8a9a14

Please sign in to comment.