Skip to content

Commit

Permalink
use android:fitsSystemWindows="true" as required by API 35
Browse files Browse the repository at this point in the history
  • Loading branch information
CampelloManuel committed Dec 11, 2024
1 parent d75037a commit 6a5b62d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout-sw600dp-land/activity_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:fitsSystemWindows="true"
android:showDividers="middle">

<!-- this holds the fragment of the "main menu" -->
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_dashclock_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
android:id="@+id/fragment"
android:name="com.nononsenseapps.notepad.dashclock.DashclockPrefsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="match_parent"
android:fitsSystemWindows="true"/>
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerLayout"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activities.main.ActivityMain">
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 @@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:orientation="horizontal">

<!-- Contains the "main menu" fragment for the settings activity -->
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_shortcut_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:orientation="vertical"
android:fitsSystemWindows="true"
tools:context=".widget.shortcut.ShortcutConfig">

<TextView
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_task_history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_lone_horizontal_margin"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_widget_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:orientation="@integer/layout_best_orientation">

<include
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
style="?attr/ListMarginStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<!-- Layout file for the "archive" activity of deleted notes. Shows a list of those.
See FragmentSearchDeleted, which decides what gets shown in the listitem -->
Expand Down

0 comments on commit 6a5b62d

Please sign in to comment.