aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-26 22:07:05 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-26 22:07:05 -0700
commit1068fde7bfe3e258f07eb425610da8ea0d10b19e (patch)
tree9d2da9bef169fec9253ab59fa0b61e9c046799dd /subsonic-android/res
parent5c2bbbca7fa96dc674b91bbc4b9e4b56621c5e38 (diff)
downloaddsub-1068fde7bfe3e258f07eb425610da8ea0d10b19e.tar.gz
dsub-1068fde7bfe3e258f07eb425610da8ea0d10b19e.tar.bz2
dsub-1068fde7bfe3e258f07eb425610da8ea0d10b19e.zip
Start of podcast support
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/drawable-hdpi-v4/list_item_more_saved.9.pngbin0 -> 5919 bytes
-rw-r--r--subsonic-android/res/layout/select_podcasts.xml30
-rw-r--r--subsonic-android/res/menu/select_podcasts.xml18
-rw-r--r--subsonic-android/res/values/strings.xml3
4 files changed, 51 insertions, 0 deletions
diff --git a/subsonic-android/res/drawable-hdpi-v4/list_item_more_saved.9.png b/subsonic-android/res/drawable-hdpi-v4/list_item_more_saved.9.png
new file mode 100644
index 00000000..f3805bfb
--- /dev/null
+++ b/subsonic-android/res/drawable-hdpi-v4/list_item_more_saved.9.png
Binary files differ
diff --git a/subsonic-android/res/layout/select_podcasts.xml b/subsonic-android/res/layout/select_podcasts.xml
new file mode 100644
index 00000000..3fda5799
--- /dev/null
+++ b/subsonic-android/res/layout/select_podcasts.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/select_podcasts_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <include layout="@layout/tab_progress" />
+
+ <TextView
+ android:id="@+id/select_podcasts_empty"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dip"
+ android:text="@string/select_podcasts.empty"
+ android:visibility="gone" />
+
+ <ListView
+ android:id="@+id/select_podcasts_list"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:textFilterEnabled="true"
+ android:fastScrollEnabled="true"/>
+ </LinearLayout>
+</FrameLayout>
diff --git a/subsonic-android/res/menu/select_podcasts.xml b/subsonic-android/res/menu/select_podcasts.xml
new file mode 100644
index 00000000..e0f9a718
--- /dev/null
+++ b/subsonic-android/res/menu/select_podcasts.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="@drawable/action_refresh"
+ android:title="@string/menu.refresh"
+ android:showAsAction="always|withText"/>
+
+ <item
+ android:id="@+id/menu_settings"
+ android:icon="@drawable/action_settings"
+ android:title="@string/menu.settings"/>
+
+ <item
+ android:id="@+id/menu_exit"
+ android:icon="@drawable/action_exit"
+ android:title="@string/menu.exit"/>
+</menu> \ No newline at end of file
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 150933fd..d7c0d089 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -27,6 +27,7 @@
<string name="button_bar.search">Search</string>
<string name="button_bar.playlists">Playlists</string>
<string name="button_bar.now_playing">Playing</string>
+ <string name="button_bar.podcasts">Podcasts</string>
<string name="button_bar.chat">Chat</string>
<string name="main.welcome_title">Welcome!</string>
@@ -129,6 +130,8 @@
<string name="select_genre.empty">No genres found</string>
<string name="select_genre.blank">Blank</string>
+ <string name="select_podcasts.empty">No podcasts found</string>
+
<string name="select_playlist.empty">No saved playlists on server</string>
<string name="download.empty">Playlist is empty</string>