home: add playlist add button

Refactor the home FAB to switch to playlist addition button
when at the playlist tab.
This commit is contained in:
Alexander Capehart
2023-03-25 15:11:48 -06:00
parent 9988a1b76b
commit 829e2a42c4
7 changed files with 131 additions and 11 deletions
+2 -4
View File
@@ -123,14 +123,12 @@
app:layout_anchor="@id/home_content"
app:layout_anchorGravity="bottom|end">
<com.google.android.material.floatingactionbutton.FloatingActionButton
<org.oxycblt.auxio.home.FlipFloatingActionButton
android:id="@+id/home_fab"
style="@style/Widget.Auxio.FloatingActionButton.Adaptive"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_medium"
android:contentDescription="@string/desc_shuffle_all"
android:src="@drawable/ic_shuffle_off_24" />
android:layout_margin="@dimen/spacing_medium" />
</org.oxycblt.auxio.home.EdgeFrameLayout>
+1
View File
@@ -297,6 +297,7 @@
<string name="desc_change_repeat">Change repeat mode</string>
<string name="desc_shuffle">Turn shuffle on or off</string>
<string name="desc_shuffle_all">Shuffle all songs</string>
<string name="desc_new_playlist">Create a new playlist</string>
<string name="desc_exit">Stop playback</string>
<string name="desc_clear_queue_item">Remove this queue song</string>