Added multi select everywhere else and auto updates every activity after the music database changed. Fix issue #4
This commit is contained in:
parent
f033819620
commit
3067d6d637
15 changed files with 380 additions and 76 deletions
|
|
@ -9,10 +9,21 @@
|
|||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/main_toolbar_padding_top">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/Toolbar"
|
||||
android:background="?colorPrimary" />
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/Toolbar"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
<ViewStub
|
||||
android:id="@+id/cab_stub"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
|
|
|
|||
23
app/src/main/res/menu/menu_playlists_songs_selection.xml
Normal file
23
app/src/main/res/menu/menu_playlists_songs_selection.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_add_to_playlist"
|
||||
android:icon="@drawable/ic_playlist_add_white_24dp"
|
||||
android:title="@string/action_add_to_playlist"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_add_to_current_playing"
|
||||
android:icon="@drawable/ic_queue_white_24dp"
|
||||
android:title="@string/action_add_to_playing_queue"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete_from_playlist"
|
||||
android:icon="@drawable/ic_delete_white_24dp"
|
||||
android:title="@string/action_delete_from_playlist"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
</menu>
|
||||
|
|
@ -77,8 +77,16 @@
|
|||
<string name="delete_x_songs"><![CDATA[
|
||||
Do you want to delete <b>%1$d</b> songs?
|
||||
]]></string>
|
||||
<string name="delete_song_x_from_playlist"><![CDATA[
|
||||
Do you want to delete the song <b>%1$s</b> from the playlist?
|
||||
]]></string>
|
||||
<string name="delete_x_songs_from_playlist"><![CDATA[
|
||||
Do you want to delete <b>%1$d</b> songs from the playlist?
|
||||
]]></string>
|
||||
<string name="delete_song_title">Delete Song</string>
|
||||
<string name="delete_songs_title">Delete Songs</string>
|
||||
<string name="delete_song_from_playlist_title">Delete Song from Playlist</string>
|
||||
<string name="delete_songs_from_playlist_title">Delete Songs from Playlist</string>
|
||||
<string name="rename_playlist_title">Rename Playlist</string>
|
||||
<string name="delete_playlist_title">Delete Playlist</string>
|
||||
<string name="delete_playlists_title">Delete Playlists</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue