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
+8 -2
View File
@@ -67,6 +67,10 @@
</intent-filter>
</activity>
<!--
IndexerService handles querying the media database,
extracting metadata, and constructing the music library.
-->
<service
android:name=".music.IndexerService"
android:foregroundServiceType="dataSync"
@@ -74,6 +78,9 @@
android:exported="false"
android:roundIcon="@mipmap/ic_launcher" />
<!--
PlaybackService handles music playback, system components, and state saving.
-->
<service
android:name=".playback.system.PlaybackService"
android:foregroundServiceType="mediaPlayback"
@@ -81,7 +88,6 @@
android:exported="false"
android:roundIcon="@mipmap/ic_launcher" />
<!--
Work around apps that blindly query for ACTION_MEDIA_BUTTON working.
See the class for more info.
@@ -94,7 +100,7 @@
</intent-filter>
</receiver>
<!-- Auxio's one and only AppWidget -->
<!-- Auxio's one and only AppWidget. -->
<receiver
android:name=".widgets.WidgetProvider"
android:exported="false"