aboutsummaryrefslogtreecommitdiff
path: root/res/layout/album_cell_item.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-04-26 17:03:13 -0700
committerScott Jackson <daneren2005@gmail.com>2014-04-26 17:03:13 -0700
commit9eb67ba4dc384dfad8496f24d5288df619a0d8fd (patch)
tree8f8ca0e369c325b97027ffd1a2a5c5a381281efa /res/layout/album_cell_item.xml
parent71785e9ce8b6d9edea43f4f9bdb76e725c0772ca (diff)
parent0be9df3ac3e66c806705c5312910be17007bacb2 (diff)
downloaddsub-9eb67ba4dc384dfad8496f24d5288df619a0d8fd.tar.gz
dsub-9eb67ba4dc384dfad8496f24d5288df619a0d8fd.tar.bz2
dsub-9eb67ba4dc384dfad8496f24d5288df619a0d8fd.zip
Merge branch 'Grid' of https://github.com/daneren2005/Subsonic
Diffstat (limited to 'res/layout/album_cell_item.xml')
-rw-r--r--res/layout/album_cell_item.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/res/layout/album_cell_item.xml b/res/layout/album_cell_item.xml
new file mode 100644
index 00000000..9cc85c6e
--- /dev/null
+++ b/res/layout/album_cell_item.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <github.daneren2005.dsub.view.SquareImageView
+ android:id="@+id/album_coverart"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:src="@drawable/unknown_album"/>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="4dp"
+ android:paddingLeft="2dp">
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/album_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:singleLine="true"
+ android:ellipsize="marquee"
+ android:text="@string/search.albums"/>
+
+ <TextView
+ android:id="@+id/album_artist"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:singleLine="true"
+ android:text="@string/search.artists"/>
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/album_more"
+ android:src="?attr/download_none"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:paddingRight="2dp"
+ android:background="@drawable/menubar_button"/>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file