aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-11-10 20:43:57 -0800
committerScott Jackson <daneren2005@gmail.com>2012-11-10 20:43:57 -0800
commit2ded932e517a1b53f5f61297c5b062fadee30045 (patch)
treef613496eee9f0ecf4948afab60b84d0155683ddd /subsonic-android/res/layout
parentf2bbdbe89234a0e0ac0991eac323a7fc0b729d59 (diff)
downloaddsub-2ded932e517a1b53f5f61297c5b062fadee30045.tar.gz
dsub-2ded932e517a1b53f5f61297c5b062fadee30045.tar.bz2
dsub-2ded932e517a1b53f5f61297c5b062fadee30045.zip
Made arrows on artist/albums/playlists clickable to quickly bring up context menus #47
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/album_list_item.xml14
-rw-r--r--subsonic-android/res/layout/artist_list_item.xml8
-rw-r--r--subsonic-android/res/layout/playlist_list_item.xml36
3 files changed, 38 insertions, 20 deletions
diff --git a/subsonic-android/res/layout/album_list_item.xml b/subsonic-android/res/layout/album_list_item.xml
index 6bd12fd1..d76f105f 100644
--- a/subsonic-android/res/layout/album_list_item.xml
+++ b/subsonic-android/res/layout/album_list_item.xml
@@ -44,13 +44,15 @@
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:src="@drawable/ic_stat_star"
- android:background="@null"
+ android:background="@android:color/transparent"
android:focusable="false"/>
<ImageView
- android:src="@drawable/list_item_more"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right|center_vertical"
- android:paddingRight="6dip"/>
+ android:id="@+id/album_more"
+ android:src="@drawable/list_item_more"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_gravity="right|center_vertical"
+ android:paddingRight="6dip"
+ android:background="@drawable/menubar_button"/>
</LinearLayout>
diff --git a/subsonic-android/res/layout/artist_list_item.xml b/subsonic-android/res/layout/artist_list_item.xml
index ed78b543..09ecd802 100644
--- a/subsonic-android/res/layout/artist_list_item.xml
+++ b/subsonic-android/res/layout/artist_list_item.xml
@@ -21,13 +21,15 @@
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:src="@drawable/ic_stat_star"
- android:background="@null"
+ android:background="@android:color/transparent"
android:focusable="false"/>
<ImageView
+ android:id="@+id/artist_more"
android:src="@drawable/list_item_more"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="fill_parent"
android:layout_gravity="right|center_vertical"
- android:paddingRight="6dip"/>
+ android:paddingRight="6dip"
+ android:background="@drawable/menubar_button"/>
</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/layout/playlist_list_item.xml b/subsonic-android/res/layout/playlist_list_item.xml
index 3c99ccbd..1ec5753f 100644
--- a/subsonic-android/res/layout/playlist_list_item.xml
+++ b/subsonic-android/res/layout/playlist_list_item.xml
@@ -1,12 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@android:id/text1"
- 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"/> \ No newline at end of file
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/playlist_name"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="left|center_vertical"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:minHeight="50dip"/>
+
+ <ImageView
+ android:id="@+id/playlist_more"
+ android:src="@drawable/list_item_more"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_gravity="right|center_vertical"
+ android:paddingRight="6dip"
+ android:background="@drawable/menubar_button"/>
+</LinearLayout> \ No newline at end of file