home: make toolbar collapse

Make the home toolbar collapse on scroll.

I was planning to implement this back in 2.0.0, but visual bugs stopped
me. Now, knowing how much space the the Toolbar + Tab combination takes
up on smaller devices, I think it would be better to have this in
general.
This commit is contained in:
OxygenCobalt
2022-06-08 09:31:57 -06:00
parent cc2561f20f
commit a6c321cfa5
25 changed files with 82 additions and 51 deletions
@@ -14,6 +14,7 @@
android:id="@+id/home_toolbar"
style="@style/Widget.Auxio.Toolbar"
app:menu="@menu/menu_home"
app:layout_scrollFlags="scroll|enterAlways"
app:title="@string/info_app_name" />
<com.google.android.material.tabs.TabLayout