Added sharing for songs. Added set as ringtone for songs.
This commit is contained in:
parent
f921738783
commit
8869f4aeb2
11 changed files with 161 additions and 12 deletions
|
|
@ -22,6 +22,10 @@
|
|||
android:id="@+id/action_go_to_artist"
|
||||
android:title="@string/action_go_to_artist"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_share"
|
||||
android:title="@string/action_share"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_tag_editor"
|
||||
android:title="@string/action_tag_editor"
|
||||
|
|
@ -30,6 +34,10 @@
|
|||
android:id="@+id/action_details"
|
||||
android:title="@string/action_details"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_set_as_ringtone"
|
||||
android:title="@string/action_set_as_ringtone"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_delete_from_disk"
|
||||
android:title="@string/action_delete_from_disk"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
android:id="@+id/action_go_to_artist"
|
||||
android:title="@string/action_go_to_artist"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_share"
|
||||
android:title="@string/action_share"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_tag_editor"
|
||||
android:title="@string/action_tag_editor"
|
||||
|
|
@ -33,6 +37,10 @@
|
|||
android:id="@+id/action_details"
|
||||
android:title="@string/action_details"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_set_as_ringtone"
|
||||
android:title="@string/action_set_as_ringtone"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_delete_from_disk"
|
||||
android:title="@string/action_delete_from_disk"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@
|
|||
android:id="@+id/action_go_to_artist"
|
||||
android:title="@string/action_go_to_artist"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_share"
|
||||
android:title="@string/action_share"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_tag_editor"
|
||||
android:title="@string/action_tag_editor"
|
||||
|
|
@ -29,6 +33,10 @@
|
|||
android:id="@+id/action_details"
|
||||
android:title="@string/action_details"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_set_as_ringtone"
|
||||
android:title="@string/action_set_as_ringtone"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_delete_from_disk"
|
||||
android:title="@string/action_delete_from_disk"
|
||||
|
|
|
|||
|
|
@ -8,12 +8,15 @@
|
|||
android:icon="@drawable/ic_queue_music_white_24dp"
|
||||
android:title="@string/action_playing_queue"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_share"
|
||||
android:icon="@drawable/ic_share_white_24dp"
|
||||
android:title="@string/action_share"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/action_shuffle_all"
|
||||
android:title="@string/shuffle_all"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_add_to_playlist"
|
||||
android:title="@string/action_add_to_playlist"
|
||||
|
|
@ -30,7 +33,6 @@
|
|||
android:id="@+id/action_tag_editor"
|
||||
android:title="@string/action_tag_editor"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_equalizer"
|
||||
android:orderInCategory="99"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="what_do_you_want_to_share">What do you want to share?</string>
|
||||
<string name="currently_listening_to_x_by_x">Currently listening to %1$s by %2$s</string>
|
||||
<string name="the_audio_file">The audio file</string>
|
||||
<string name="do_you_want_to_set_x_as_ringtone">Do you want to set %1$s as your ringtone?</string>
|
||||
<string name="x_has_been_set_as_ringtone">%1$s has been set as your ringtone.</string>
|
||||
<string name="action_set_as_ringtone">Set as ringtone</string>
|
||||
<string name="action_share">Share</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_about">About</string>
|
||||
|
|
@ -19,7 +25,7 @@
|
|||
<string name="songs">Songs</string>
|
||||
<string name="playlists">Playlists</string>
|
||||
<string name="nothing_playing">Nothing is playing</string>
|
||||
<string name="unplayable_file">Sorry - an error occurred while attempting to play this song</string>
|
||||
<string name="unplayable_file">Sorry - an error occurred while attempting to play this song.</string>
|
||||
<string name="biography_unavailable">Sorry, we were not able to find a matching biography for this artist.</string>
|
||||
<string name="biography">Biography</string>
|
||||
<string name="audio_focus_denied">We were not able to gain audio focus.</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue