Skip to content

Commit 60e54e9

Browse files
committed
activity_about: Adjust for edge-to-edge support
Signed-off-by: Aayush Gupta <[email protected]>
1 parent 10a3e6a commit 60e54e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/res/layout/activity_about.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<com.google.android.material.appbar.AppBarLayout
1010
android:id="@+id/appbar"
1111
android:layout_width="match_parent"
12+
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$Behavior"
1213
android:layout_height="wrap_content"
14+
android:fitsSystemWindows="true"
1315
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
1416

1517
<androidx.appcompat.widget.Toolbar
@@ -27,6 +29,7 @@
2729
android:layout_height="match_parent"
2830
android:layout_marginTop="?attr/actionBarSize"
2931
android:orientation="vertical"
32+
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
3033
android:gravity="center_horizontal">
3134

3235
<ImageView

0 commit comments

Comments
 (0)