Skip to content

Commit 87ba244

Browse files
committed
layout: Fixes for edge to edge display
Not so pretty but works Signed-off-by: Aayush Gupta <[email protected]>
1 parent c3120dd commit 87ba244

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
android:id="@+id/content"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
android:fitsSystemWindows="true"
67
android:orientation="vertical">
78

89
<androidx.viewpager2.widget.ViewPager2

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7-
android:fitsSystemWindows="true"
87
tools:context=".ui.sessiondetail.SessionDetailActivity">
98

109
<com.google.android.material.appbar.AppBarLayout
1110
android:id="@+id/app_bar"
1211
android:layout_width="match_parent"
1312
android:layout_height="@dimen/app_bar_height"
14-
app:layout_behavior=".ui.sessiondetail.ScrollingControlAppBarLayoutBehavior"
15-
android:theme="@style/AppTheme.AppBarOverlay">
13+
android:fitsSystemWindows="true"
14+
android:theme="@style/AppTheme.AppBarOverlay"
15+
app:layout_behavior=".ui.sessiondetail.ScrollingControlAppBarLayoutBehavior">
1616

1717
<com.google.android.material.appbar.CollapsingToolbarLayout
1818
android:id="@+id/toolbar_layout"

0 commit comments

Comments
 (0)