diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-05-02 18:25:43 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-05-02 18:25:43 -0700 |
commit | 6313f3bb976fe62ea6f3189c3a68f12cdc3d18da (patch) | |
tree | 00260f04a1e4d6e3811688494bb0870b3b4eec7c /res/layout | |
parent | 4e68c34f3e5edef90d4754c3ac4fe2590b2e5522 (diff) | |
download | dsub-6313f3bb976fe62ea6f3189c3a68f12cdc3d18da.tar.gz dsub-6313f3bb976fe62ea6f3189c3a68f12cdc3d18da.tar.bz2 dsub-6313f3bb976fe62ea6f3189c3a68f12cdc3d18da.zip |
Add back star to albums, make grid text a step smaller
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/album_cell_item.xml | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/res/layout/album_cell_item.xml b/res/layout/album_cell_item.xml index 9cc85c6e..2a3f7e4e 100644 --- a/res/layout/album_cell_item.xml +++ b/res/layout/album_cell_item.xml @@ -29,18 +29,35 @@ android:id="@+id/album_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textAppearance="?android:attr/textAppearanceSmall"
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
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/album_artist"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:textColor="?android:textColorSecondary"
+ android:singleLine="true"
+ android:text="@string/search.artists"/>
+
+ <ImageButton
+ android:id="@+id/album_star"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:src="@drawable/ic_stat_star"
+ android:background="@android:color/transparent"
+ android:focusable="false"
+ android:visibility="gone"/>
+ </LinearLayout>
</LinearLayout>
<ImageView
|