OSDN Git Service

e5cfa8d0c73a6716974a5445c05d2ac70f7166b3
[android-x86/packages-apps-Eleven.git] / res / layout / artist_detail_song.xml
1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     android:layout_width="match_parent"
3     android:layout_height="70dp" >
4
5     <ImageView
6         android:id="@+id/album_art"
7         android:layout_width="50dp"
8         android:layout_height="50dp"
9         android:layout_alignParentTop="true"
10         android:layout_alignParentLeft="true"
11         android:layout_margin="@dimen/list_preferred_item_padding" />
12
13     <com.cyngn.eleven.widgets.PopupMenuButton
14         android:id="@+id/overflow"
15         android:layout_width="@dimen/overflow_width"
16         android:layout_height="68dp"
17         android:layout_alignParentTop="true"
18         android:layout_alignParentRight="true"
19         android:layout_marginBottom="2dp"
20         android:gravity="center"
21         android:src="@drawable/menu_button" />
22
23     <TextView
24         android:id="@+id/title"
25         style="@style/ListItemMainText.Single"
26         android:layout_width="match_parent"
27         android:layout_height="wrap_content"
28         android:layout_alignParentTop="true"
29         android:layout_toLeftOf="@id/overflow"
30         android:layout_toRightOf="@id/album_art"
31         android:layout_marginTop="16dp" />
32
33     <TextView
34         android:id="@+id/album"
35         style="@style/ListItemSecondaryText.Single"
36         android:layout_width="match_parent"
37         android:layout_height="wrap_content"
38         android:layout_below="@id/title"
39         android:layout_toRightOf="@id/album_art"
40         android:layout_toLeftOf="@id/overflow"
41         android:layout_marginTop="-2dp" />
42
43     <ImageView
44         android:id="@+id/divider"
45         android:layout_width="fill_parent"
46         android:layout_height="wrap_content"
47         android:layout_alignParentBottom="true"
48         android:src="@drawable/inset_list_divider" />
49 </RelativeLayout>