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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user