|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | 4 | android:layout_width="match_parent" |
5 | 5 | android:layout_height="match_parent" |
6 | | - android:fitsSystemWindows="true" |
7 | | - android:orientation="vertical"> |
| 6 | + android:fitsSystemWindows="true"> |
8 | 7 |
|
9 | 8 | <com.google.android.material.appbar.AppBarLayout |
10 | 9 | style="@style/Widget.MaterialComponents.AppBarLayout.PrimarySurface" |
|
17 | 16 | android:id="@+id/toolbar" |
18 | 17 | style="@style/Widget.MaterialComponents.Toolbar.PrimarySurface" |
19 | 18 | android:layout_width="match_parent" |
20 | | - android:layout_height="?attr/actionBarSize" /> |
| 19 | + android:layout_height="wrap_content" /> |
21 | 20 |
|
22 | 21 | </com.google.android.material.appbar.AppBarLayout> |
23 | 22 |
|
24 | 23 | <androidx.fragment.app.FragmentContainerView |
25 | 24 | android:id="@+id/fragmentContainerBilling" |
26 | 25 | android:name="xyz.aprildown.timer.flavor.google.BillingFragment" |
27 | 26 | android:layout_width="match_parent" |
28 | | - android:layout_height="0dp" |
29 | | - android:layout_weight="1" /> |
| 27 | + android:layout_height="match_parent" |
| 28 | + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
30 | 29 |
|
31 | | -</LinearLayout> |
| 30 | +</androidx.coordinatorlayout.widget.CoordinatorLayout> |
0 commit comments