Skip to content

Commit 29f0bad

Browse files
committed
update targetSdk and fix styles for Edge-to-Edge
1 parent 5b70d22 commit 29f0bad

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

ClassHunter/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88

99
defaultConfig {
1010
minSdk = 26
11-
targetSdk = 33
11+
targetSdk = 35
1212

1313
val file = File(projectDir, "targetClass.txt")
1414
if (!file.exists()) {

ClassHunter/src/main/res/layout/set_scope_activity.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
android:layout_width="match_parent"
77
android:layout_height="match_parent"
88
android:padding="12dp"
9+
style="@style/AppTheme.Edge2EdgeFix"
910
tools:context="de.binarynoise.classHunter.SetScopeActivity"
1011
>
1112

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
12
<LinearLayout
23
xmlns:android="http://schemas.android.com/apk/res/android"
34
android:layout_width="match_parent"
45
android:layout_height="match_parent"
6+
style="@style/AppTheme.Edge2EdgeFix"
57
>
68

79
<FrameLayout

CodecMod/src/main/res/values-v35/themes.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault" />
4+
5+
<style name="AppTheme.Edge2EdgeFix">
6+
<item name="android:fitsSystemWindows">true</item>
7+
</style>
48
</resources>

0 commit comments

Comments
 (0)