blob: 93131a2aad96587c94599ef93a062531751a2f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="120dp"
android:layout_height="161dp"
android:layout_marginRight="4dp"
android:background="@drawable/cardcontainer" >
<ImageView
android:id="@+id/album_art"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true" />
<!-- FIXME: hide this until we know what goes in the popup menu -->
<ImageView
android:visibility="gone"
android:id="@+id/overflow"
android:layout_width="@dimen/overflow_width"
android:layout_height="40dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="1dp"
android:layout_marginRight="-2dp"
android:gravity="center"
android:src="@drawable/menu_item_button" />
<TextView
android:id="@+id/title"
style="@style/ListItemMainText.Single"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/album_art"
android:layout_toLeftOf="@id/overflow"
android:layout_alignParentLeft="true"
android:layout_marginLeft="8dp"
android:layout_marginTop="3dp" />
<TextView
android:id="@+id/year"
style="@style/ListItemSecondaryText.Single"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/overflow"
android:layout_marginLeft="8dp"
android:layout_marginTop="-4dp" />
</RelativeLayout>
|