fix: adapt UI to Android 15 changes

This commit is contained in:
Niko Diamadis
2024-10-27 13:10:48 -04:00
parent 1c90866e70
commit 8aa46c8127
3 changed files with 7 additions and 3 deletions

View File

@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
android:fillViewport="true"
android:fitsSystemWindows="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
@@ -180,7 +181,6 @@
<ImageButton
android:id="@+id/advanced_settings"
style="@style/Widget.Material3.Button.TextButton"
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="@string/check_url"
@@ -188,6 +188,7 @@
android:background="@null"
app:layout_constraintEnd_toEndOf="@+id/gotify_url"
app:layout_constraintTop_toTopOf="@+id/checkurl"
app:layout_constraintBottom_toBottomOf="@id/checkurl"
app:srcCompat="@drawable/ic_settings" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

View File

@@ -5,6 +5,7 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<androidx.coordinatorlayout.widget.CoordinatorLayout
@@ -91,6 +92,7 @@
android:layout_height="match_parent"
android:layout_gravity="start"
android:theme="@style/AppTheme.Nav"
android:fitsSystemWindows="false"
app:headerLayout="@layout/nav_header_drawer"
app:menu="@menu/messages_menu" />

View File

@@ -3,7 +3,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<LinearLayout
android:layout_width="match_parent"