Skip to content

Commit

Permalink
fix: Repair bugged UI in Android 15
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Oct 19, 2024
1 parent 592dd84 commit e598965
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<activity
android:launchMode="singleTop"
android:name="com.cyb3rko.flashdim.activities.MainActivity"
android:fitsSystemWindows="true"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
Expand All @@ -36,7 +35,6 @@
<activity
android:name="com.cyb3rko.flashdim.activities.SettingsActivity"
android:parentActivityName=".activities.MainActivity"
android:fitsSystemWindows="true"
android:screenOrientation="portrait"
android:exported="false" />

Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout-sw600dp/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fitsSystemWindows="true">

<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar_layout"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout-sw900dp/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fitsSystemWindows="true">

<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar_layout"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fitsSystemWindows="true">

<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar_layout"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:orientation="vertical">

<com.google.android.material.appbar.AppBarLayout
Expand Down

0 comments on commit e598965

Please sign in to comment.