aboutsummaryrefslogtreecommitdiff
path: root/res/layout/abstract_fragment_activity.xml
blob: 605b988a6063cac6464466531e745177d54b7971 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:gravity="center_horizontal"
	android:orientation="vertical" >

	<include layout="@layout/abstract_fragment_container" />

	<View
		android:layout_width="fill_parent"
		android:layout_height="1px"
		android:background="@color/dividerColor"/>

	<LinearLayout
		android:id="@+id/bottom_bar"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:background="@drawable/media_button"
		android:orientation="horizontal">

		<ImageView
			android:id="@+id/album_art"
			android:layout_width="50dip"
			android:layout_height="50dip"
			android:layout_gravity="left|center"
			android:scaleType="fitStart"
			android:src="@drawable/unknown_album"/>

		<LinearLayout
			android:layout_width="0dp"
			android:layout_height="wrap_content"
			android:layout_gravity="center_vertical"
			android:layout_weight="1"
			android:orientation="vertical"
			android:paddingLeft="8dip">

			<TextView
				android:id="@+id/track_name"
				android:layout_height="wrap_content"
				android:layout_width="wrap_content"
				android:textColor="?android:textColorPrimary"
				android:singleLine="true"
				android:textAppearance="?android:attr/textAppearanceSmall"
				android:textSize="13sp"
				android:text="@string/search.artists"/>

			<TextView
				android:id="@+id/artist_name"
				android:layout_height="wrap_content"
				android:layout_width="wrap_content"
				android:textColor="?android:textColorSecondary"
				android:singleLine="true"
				android:textAppearance="?android:attr/textAppearanceSmall"
				android:textSize="12sp"
				android:text="@string/search.albums"/>
		</LinearLayout>

		<LinearLayout
			android:layout_height="wrap_content"
			android:layout_width="0dp"
			android:layout_weight="1">

			<ImageButton
				style="@style/PlaybackControl.Small"
				android:id="@+id/download_previous"
				android:src="?attr/media_button_backward"
				android:layout_width="0dp"
				android:layout_weight="1"/>

			<ImageButton
				style="@style/PlaybackControl.Small"
				android:id="@+id/download_start"
				android:src="?attr/media_button_start"
				android:layout_width="0dp"
				android:layout_weight="1"/>

			<ImageButton
				style="@style/PlaybackControl.Small"
				android:id="@+id/download_next"
				android:src="?attr/media_button_forward"
				android:layout_width="0dp"
				android:layout_weight="1"/>
		</LinearLayout>
	</LinearLayout>
</LinearLayout>