aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/select_album_header.xml
blob: 6905d42109b61c8d2403549b307cf4c7e6267e14 (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
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent"
	android:layout_height="wrap_content">
		
	<ImageView
		android:id="@+id/select_album_art"
		android:src="@drawable/unknown_album_large"
		android:layout_width="120dip"
		android:layout_height="120dip"
		android:layout_alignParentTop="true"
		android:layout_alignParentLeft="true"
		android:layout_marginRight="10dip"
		android:scaleType="fitCenter"
		android:contentDescription="@null"/>

	<TextView
		android:text="This is the album title"
		android:id="@+id/select_album_title"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_toRightOf="@+id/select_album_art"
		android:paddingTop="20dip"
		android:paddingBottom="8dip"
		android:paddingRight="4dip"
		android:textColor="@color/mediaControlForeground"
		android:textAppearance="?android:attr/textAppearanceMedium"
		android:textStyle="bold"
		android:singleLine="true"
		android:ellipsize="end"/>

	<TextView
		android:text="This is the artist name"
		android:id="@+id/select_album_artist"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_below="@+id/select_album_title"
		android:layout_toRightOf="@+id/select_album_art"
		android:paddingBottom="2dip"
		android:paddingRight="4dip"
		android:textAppearance="?android:attr/textAppearanceSmall"
		android:singleLine="true"
		android:ellipsize="end"/>

	<TextView
		android:text="XX SONGS"
		android:id="@+id/select_album_song_count"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_below="@+id/select_album_artist"
		android:layout_toRightOf="@+id/select_album_art"
		android:paddingRight="4dip"
		android:textAppearance="?android:attr/textAppearanceSmall"
		android:textSize="10sp"
		android:singleLine="true"
		android:ellipsize="none"/>
</RelativeLayout>