Skip to content

Commit 0be61fd

Browse files
committed
fix Edge2Edge
1 parent dda0112 commit 0be61fd

5 files changed

Lines changed: 21 additions & 2 deletions

File tree

HideAbi/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<manifest
33
xmlns:android="http://schemas.android.com/apk/res/android">
44

5-
<application android:theme="@android:style/Theme.DeviceDefault.Settings">
5+
<application>
66
<activity
77
android:name=".AbisActivity"
88
android:exported="true"

HideAbi/src/main/AndroidManifest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<application
66
android:icon="@mipmap/ic_launcher"
77
android:label="HideAbi"
8-
android:theme="@android:style/Theme.DeviceDefault.Settings"
8+
android:theme="@style/AppTheme"
99
>
1010
<meta-data
1111
android:name="xposedmodule"
@@ -29,7 +29,10 @@
2929
android:exported="true"
3030
>
3131
<intent-filter>
32+
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
3233
<action android:name="android.intent.action.MAIN" />
34+
35+
<category android:name="android.intent.category.DEFAULT" />
3336
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
3437
</intent-filter>
3538
</activity>

HideAbi/src/main/res/layout/settings_activity.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
style="@style/AppTheme.Edge2EdgeFix"
67
>
78

89
<FrameLayout
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<style name="AppTheme"
5+
parent="android:Theme.DeviceDefault.Settings" />
6+
</resources>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<style name="AppTheme" parent="android:Theme.DeviceDefault" />
5+
6+
<style name="AppTheme.Edge2EdgeFix">
7+
<item name="android:fitsSystemWindows">true</item>
8+
</style>
9+
</resources>

0 commit comments

Comments
 (0)