aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-02 21:55:32 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-02 21:55:32 -0700
commit5e3992fd414c145c0df1e29ffa3e19e89166378f (patch)
treed3718efd6f2f3f79635de96ee9b45be9d206c5e1 /subsonic-android/res/layout
parent8306a6ad9dd4875801d782caa2ca6df1bb8c2eb9 (diff)
downloaddsub-5e3992fd414c145c0df1e29ffa3e19e89166378f.tar.gz
dsub-5e3992fd414c145c0df1e29ffa3e19e89166378f.tar.bz2
dsub-5e3992fd414c145c0df1e29ffa3e19e89166378f.zip
Added Genre fragment (thanks archrival)
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/main_buttons.xml12
-rw-r--r--subsonic-android/res/layout/select_genres.xml29
2 files changed, 41 insertions, 0 deletions
diff --git a/subsonic-android/res/layout/main_buttons.xml b/subsonic-android/res/layout/main_buttons.xml
index e8be57f0..1e60838d 100644
--- a/subsonic-android/res/layout/main_buttons.xml
+++ b/subsonic-android/res/layout/main_buttons.xml
@@ -128,6 +128,18 @@
android:paddingLeft="6dip"
android:paddingRight="6dip"
android:minHeight="50dip"/>
+ <TextView
+ android:id="@+id/main_albums_genres"
+ android:text="@string/main.albums_genres"
+ android:drawableRight="@drawable/list_item_more"
+ android:drawablePadding="6dip"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center_vertical"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:minHeight="50dip"/>
<TextView
android:id="@+id/main_albums_random"
android:text="@string/main.albums_random"
diff --git a/subsonic-android/res/layout/select_genres.xml b/subsonic-android/res/layout/select_genres.xml
new file mode 100644
index 00000000..3396d2ce
--- /dev/null
+++ b/subsonic-android/res/layout/select_genres.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/select_genre_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_genre_empty"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dip"
+ android:text="@string/select_genre.empty"
+ android:visibility="gone" />
+
+ <ListView
+ android:id="@+id/select_genre_list"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:textFilterEnabled="true" />
+ </LinearLayout>
+</FrameLayout> \ No newline at end of file