aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-11 15:03:03 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-11 15:03:03 -0700
commit82cee9a60795716273e38a2fcb647c11f9ea0dc0 (patch)
tree8688cf5f0e032798c6d698e475b2db0cd411936e /res
parent7b16f06f8d02f8861174b3b84da5b25eb7260ec1 (diff)
downloaddsub-82cee9a60795716273e38a2fcb647c11f9ea0dc0.tar.gz
dsub-82cee9a60795716273e38a2fcb647c11f9ea0dc0.tar.bz2
dsub-82cee9a60795716273e38a2fcb647c11f9ea0dc0.zip
#397 Add rating to album cover art
Diffstat (limited to 'res')
-rw-r--r--res/layout/album_cell_item.xml24
1 files changed, 20 insertions, 4 deletions
diff --git a/res/layout/album_cell_item.xml b/res/layout/album_cell_item.xml
index 5f4735fe..3dd79477 100644
--- a/res/layout/album_cell_item.xml
+++ b/res/layout/album_cell_item.xml
@@ -4,12 +4,28 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <github.daneren2005.dsub.view.SquareImageView
- android:id="@+id/album_coverart"
+ <RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_weight="1"
- android:src="@drawable/unknown_album"/>
+ android:layout_weight="1">
+
+ <github.daneren2005.dsub.view.SquareImageView
+ android:id="@+id/album_coverart"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:src="@drawable/unknown_album"/>
+
+ <RatingBar
+ android:id="@+id/album_rating"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:isIndicator="true"
+ android:layout_centerHorizontal="true"
+ android:numStars="5"
+ style="@android:style/Widget.Holo.RatingBar.Small"
+ android:layout_alignParentBottom="true"
+ android:visibility="gone"/>
+ </RelativeLayout>
<LinearLayout
android:layout_width="fill_parent"