diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-22 21:31:57 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-22 21:31:57 -0700 |
commit | 6152bb642d02c87977a21fe2d0814842de6756d4 (patch) | |
tree | c432b484482411b1639776ebffa7097947bee47c /subsonic-android/res | |
parent | cc22988ff7aad3d37bd7546b4c0a5b20656e0116 (diff) | |
download | dsub-6152bb642d02c87977a21fe2d0814842de6756d4.tar.gz dsub-6152bb642d02c87977a21fe2d0814842de6756d4.tar.bz2 dsub-6152bb642d02c87977a21fe2d0814842de6756d4.zip |
Added options to update name/comment of a playlist
Diffstat (limited to 'subsonic-android/res')
-rw-r--r-- | subsonic-android/res/layout/update_playlist.xml | 26 | ||||
-rw-r--r-- | subsonic-android/res/menu/select_playlist_context.xml | 5 | ||||
-rw-r--r-- | subsonic-android/res/values/strings.xml | 7 |
3 files changed, 37 insertions, 1 deletions
diff --git a/subsonic-android/res/layout/update_playlist.xml b/subsonic-android/res/layout/update_playlist.xml new file mode 100644 index 00000000..c73d93ef --- /dev/null +++ b/subsonic-android/res/layout/update_playlist.xml @@ -0,0 +1,26 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <EditText + android:id="@+id/get_playlist_name" + android:inputType="text" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:layout_marginLeft="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="4dp" + android:hint="@string/common.name" /> + <EditText + android:id="@+id/get_playlist_comment" + android:inputType="text" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="4dp" + android:layout_marginLeft="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="16dp" + android:hint="@string/common.comment"/> +</LinearLayout>
\ No newline at end of file diff --git a/subsonic-android/res/menu/select_playlist_context.xml b/subsonic-android/res/menu/select_playlist_context.xml index a376ec58..6d844a16 100644 --- a/subsonic-android/res/menu/select_playlist_context.xml +++ b/subsonic-android/res/menu/select_playlist_context.xml @@ -25,6 +25,11 @@ android:id="@+id/playlist_menu_pin" android:title="@string/common.pin" /> + + <item + android:id="@+id/playlist_update_info" + android:title="@string/playlist.update_info" + /> <item android:id="@+id/playlist_menu_delete" diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml index bf2f448a..ddaf4a9d 100644 --- a/subsonic-android/res/values/strings.xml +++ b/subsonic-android/res/values/strings.xml @@ -14,7 +14,9 @@ <string name="common.delete">Delete</string>
<string name="common.star">Star</string>
<string name="common.unstar">Unstar</string>
- <string name="common.info">Info</string>
+ <string name="common.info">Details</string>
+ <string name="common.name">Name</string>
+ <string name="common.comment">Comment</string>
<string name="button_bar.home">DSub home</string>
<string name="button_bar.browse">Media library</string>
@@ -51,6 +53,9 @@ <string name="menu.deleted_playlist_error">Failed to delete playlist %s</string>
<string name="playlist.label">Playlists</string>
+ <string name="playlist.update_info">Update Information</string>
+ <string name="playlist.updated_info">Updated playlist information for %s</string>
+ <string name="playlist.updated_info_error">Failed to update playlist information for %s</string>
<string name="help.label">Help</string>
<string name="help.title">Welcome to DSub!</string>
|