Fixed pressing home key staying in app menu

This commit is contained in:
ottoptj 2024-05-22 12:55:42 +03:00
commit 9d8ce304bd
3 changed files with 20 additions and 10 deletions

View file

@ -4,6 +4,7 @@
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/>
<queries>
<intent>
<action android:name="android.intent.action.MAIN" />
@ -20,22 +21,22 @@
android:supportsRtl="true"
android:theme="@style/Theme.YamLauncher"
tools:targetApi="34">
<activity
android:name=".AppMenuActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.YamLauncher"
android:windowSoftInputMode="adjustResize">
</activity>
<activity
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:theme="@style/Theme.YamLauncher"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>