OSDN Git Service

Eleven: Add context menus to all top level fragments and playlists
[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     <!-- FIXME: hide this until we know what goes in the popup menu -->
14     <ImageView
15         android:visibility="gone"
16         android:id="@+id/overflow"
17         android:layout_width="@dimen/overflow_width"
18         android:layout_height="68dp"
19         android:layout_alignParentTop="true"
20         android:layout_alignParentRight="true"
21         android:layout_marginBottom="2dp"
22         android:gravity="center"
23         android:src="@drawable/menu_button" />
24
25     <TextView
26         android:id="@+id/title"
27         style="@style/ListItemMainText.Single"
28         android:layout_width="match_parent"
29         android:layout_height="wrap_content"
30         android:layout_alignParentTop="true"
31         android:layout_toLeftOf="@id/overflow"
32         android:layout_toRightOf="@id/album_art"
33         android:layout_marginTop="16dp" />
34
35     <TextView
36         android:id="@+id/album"
37         style="@style/ListItemSecondaryText.Single"
38         android:layout_width="match_parent"
39         android:layout_height="wrap_content"
40         android:layout_below="@id/title"
41         android:layout_toRightOf="@id/album_art"
42         android:layout_toLeftOf="@id/overflow"
43         android:layout_marginTop="-2dp" />
44
45     <ImageView
46         android:id="@+id/divider"
47         android:layout_width="fill_parent"
48         android:layout_height="wrap_content"
49         android:layout_alignParentBottom="true"
50         android:src="@drawable/inset_list_divider" />
51 </RelativeLayout>