summaryrefslogtreecommitdiffstats
path: root/res/layout/artist_detail_header.xml
blob: 9f83cd9c55556f21e772f3f8ddbc852a6f35470a (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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/background_color" >

    <ImageView
        android:id="@+id/hero"
        android:layout_width="match_parent"
        android:layout_height="220dp"
        android:scaleType="centerCrop" />

    <TextView
        android:id="@+id/albums_label"
        android:layout_width="wrap_content"
        android:layout_height="40dp"
        android:layout_marginLeft="10dp"
        android:layout_below="@id/hero"
        android:gravity="center_vertical"
        android:fontFamily="sans-serif-light"
        android:textAllCaps="true"
        android:textColor="@color/list_item_header_text_color"
        android:textSize="@dimen/text_size_medium"
        android:text="@string/header_albums" />

    <android.support.v7.widget.RecyclerView
        android:id="@+id/albums"
        android:scrollbars="none"
        android:layout_width="match_parent"
        android:layout_height="161dp"
        android:layout_below="@id/albums_label" />

    <TextView
        android:id="@+id/songs_label"
        android:layout_width="wrap_content"
        android:layout_height="30dp"
        android:layout_marginLeft="10dp"
        android:layout_below="@id/albums"
        android:gravity="bottom"
        android:fontFamily="sans-serif-light"
        android:textAllCaps="true"
        android:textColor="@color/list_item_header_text_color"
        android:textSize="@dimen/text_size_medium"
        android:text="@string/header_all_songs" />

</RelativeLayout>