Skip to content

Commit

Permalink
Bugfix: layouts need inset (edge-to-edge)
Browse files Browse the repository at this point in the history
Part of #2008 and #1955 (Android 15 upgrade).
  • Loading branch information
dennisguse committed Nov 19, 2024
1 parent b50965f commit 1775c52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/res/layout/track_edit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ limitations under the License.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<include
android:id="@+id/fields"
Expand Down
3 changes: 2 additions & 1 deletion src/main/res/layout/track_recorded.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ limitations under the License.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="70dp">
android:paddingBottom="90dp"
android:fitsSystemWindows="true">

<com.google.android.material.tabs.TabLayout
android:id="@+id/track_detail_activity_tablayout"
Expand Down
3 changes: 2 additions & 1 deletion src/main/res/layout/track_recording.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="90dp">
android:paddingBottom="90dp"
android:fitsSystemWindows="true">

<com.google.android.material.tabs.TabLayout
android:id="@+id/track_detail_activity_tablayout"
Expand Down
3 changes: 2 additions & 1 deletion src/main/res/layout/track_stopped.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<include
android:id="@+id/loading_layout"
Expand Down

0 comments on commit 1775c52

Please sign in to comment.