ui: Handle system bar insets using AppBarLayout
This commit is contained in:
parent
1c4101ba2f
commit
9e0f2306a8
2 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/main_appbar"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
|
|
|
@ -5,8 +5,10 @@
|
|||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/settings_appbar"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue