1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 android:layout_width="match_parent"
3 android:layout_height="match_parent"
4 android:background="@color/background_color" >
7 android:id="@+id/header"
8 android:layout_width="match_parent"
9 android:layout_height="108dp"
10 android:layout_alignParentTop="true"
11 android:layout_alignParentLeft="true"
12 android:background="@color/page_header_background"
13 android:elevation="2dp" >
16 android:id="@+id/album_art"
17 android:layout_width="108dp"
18 android:layout_height="108dp"
19 android:layout_marginRight="@dimen/standard_padding"
20 android:layout_alignParentTop="true"
21 android:layout_alignParentLeft="true"
22 android:scaleType="centerCrop" />
25 android:id="@+id/header_info"
26 android:layout_width="wrap_content"
27 android:layout_height="fill_parent"
28 android:layout_toRightOf="@id/album_art"
29 android:gravity="center_vertical" >
32 android:id="@+id/title"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:layout_alignParentTop="true"
36 android:singleLine="true"
37 android:fontFamily="sans-serif"
38 android:textStyle="bold"
39 android:textSize="@dimen/text_size_large"
40 android:textColor="@color/default_text_color" />
43 android:id="@+id/song_count_and_year"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:layout_below="@id/title"
47 android:singleLine="true"
48 android:fontFamily="sans-serif-light"
49 android:textSize="@dimen/text_size_micro"
50 android:textColor="@color/default_text_color" />
53 android:id="@+id/genre"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_below="@id/song_count_and_year"
57 android:layout_marginRight="@dimen/standard_padding"
58 android:singleLine="true"
59 android:fontFamily="sans-serif-light"
60 android:textSize="@dimen/text_size_micro"
61 android:textColor="@color/default_text_color"
62 android:visibility="gone"
63 android:layout_marginTop="4dp" />
66 android:id="@+id/duration_icon"
67 android:layout_width="10dp"
68 android:layout_height="12dp"
69 android:layout_below="@id/song_count_and_year"
70 android:layout_toRightOf="@id/genre"
71 android:layout_alignTop="@+id/duration"
72 android:layout_alignBottom="@+id/duration"
73 android:layout_marginRight="4dp"
74 android:gravity="center"
75 android:src="@drawable/stopwatch_icon_small_grey" />
78 android:id="@+id/duration"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:layout_below="@id/song_count_and_year"
82 android:layout_toRightOf="@id/duration_icon"
83 android:singleLine="true"
84 android:fontFamily="sans-serif-light"
85 android:textSize="@dimen/text_size_micro"
86 android:textColor="@color/default_text_color"
87 android:layout_marginTop="4dp" />
93 layout="@layout/loading_empty_container" />
96 android:id="@+id/songs"
97 android:layout_width="match_parent"
98 android:layout_height="match_parent"
99 android:layout_below="@id/header"
100 android:layout_alignParentLeft="true"
101 android:divider="@null"
102 android:dividerHeight="0dp" />