home: make edge-to-edge

Make the home fragment span from edge-to-edge. This also adds a nice
effect for the toolbar to fade out when it collapses.
This commit is contained in:
OxygenCobalt
2021-08-29 18:29:58 -06:00
parent c5b1d7d735
commit e142c17fca
4 changed files with 26 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
android:fitsSystemWindows="true"
android:orientation="vertical">
<androidx.fragment.app.FragmentContainerView
@@ -27,6 +26,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="@dimen/elevation_normal"
android:clipToPadding="true"
android:background="?attr/colorSurface"
tools:layout="@layout/fragment_compact_playback" />
</LinearLayout>