summaryrefslogtreecommitdiffstats
path: root/res/layout/artist_detail_album.xml
blob: 978ee6ff160a2a9d43e17f8fc755ba661f2870ba (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
49
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="104dp"
    android:layout_height="148dp"
    android:layout_marginRight="8dp"
    android:background="@drawable/cardcontainer" >

    <ImageView
        android:id="@+id/album_art"
        android:layout_width="104dp"
        android:layout_height="104dp"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:scaleType="centerCrop" />

    <com.cyngn.eleven.widgets.PopupMenuButton
        android:id="@+id/overflow"
        android:layout_width="@dimen/overflow_width"
        android:layout_height="match_parent"
        android:layout_below="@id/album_art"
        android:layout_alignParentRight="true"
        android:layout_marginBottom="1dp"
        android:gravity="center_vertical"
        android:src="@drawable/menu_button" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:gravity="center_vertical"
        android:layout_below="@id/album_art"
        android:layout_toLeftOf="@id/overflow"
        android:layout_alignParentLeft="true"
        android:layout_marginLeft="8dp" >

        <TextView
            android:id="@+id/title"
            style="@style/ListItemMainText.Single"
            android:textSize="@dimen/text_size_micro"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

        <TextView
            android:id="@+id/year"
            style="@style/ListItemSecondaryText.Single"
            android:textSize="@dimen/text_size_extra_micro"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </LinearLayout>
</RelativeLayout>