|
1
2
3
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
|
|
4
|
android:layout_height="85dip"
|
|
5
6
7
8
9
10
11
12
|
android:layout_alignParentBottom="true"
android:layout_marginBottom="0.0dip"
android:layout_marginLeft="0.0dip"
android:layout_marginRight="0.0dip"
android:background="@drawable/mediacontroller_bg"
android:orientation="horizontal" >
<RelativeLayout
|
|
13
|
android:id="@+id/relativeLayout1"
|
|
14
15
16
17
18
|
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:layout_marginLeft="7.0dip"
android:layout_marginRight="7.0dip"
|
|
19
|
android:layout_marginTop="2dip" >
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/mediacontroller_time_current"
style="@style/MediaController_Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
<TextView
android:id="@+id/mediacontroller_time_total"
style="@style/MediaController_Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" />
|
|
40
41
42
|
<ImageButton
android:id="@+id/mediacontroller_play_pause"
|
|
43
|
android:layout_width="54.6dip"
|
|
44
45
46
47
48
|
android:layout_height="30dip"
android:layout_centerHorizontal="true"
android:background="#00000000"
android:contentDescription="@string/mediacontroller_play_pause"
android:gravity="center"
|
|
49
|
android:src="@android:drawable/ic_media_pause" />
|
|
50
51
52
|
<ImageButton
android:id="@+id/ImageButton01"
|
|
53
|
android:layout_width="54.6dip"
|
|
54
|
android:layout_height="30dip"
|
|
55
|
android:layout_marginRight="20dp"
|
|
56
57
58
59
|
android:layout_toLeftOf="@+id/mediacontroller_play_pause"
android:background="#00000000"
android:gravity="center"
android:scaleType="fitCenter"
|
|
60
|
android:src="@android:drawable/ic_media_rew" />
|
|
61
62
63
|
<ImageButton
android:id="@+id/ImageButton02"
|
|
64
|
android:layout_width="54.6dip"
|
|
65
|
android:layout_height="30dip"
|
|
66
|
android:layout_alignParentTop="true"
|
|
67
|
android:layout_marginLeft="20dip"
|
|
68
69
|
android:layout_marginRight="40dip"
android:layout_toRightOf="@+id/mediacontroller_play_pause"
|
|
70
71
72
|
android:background="#00000000"
android:gravity="center"
android:scaleType="fitCenter"
|
|
73
|
android:src="@android:drawable/ic_media_ff" />
|
|
74
|
|
|
75
76
77
78
79
80
81
|
</RelativeLayout>
<SeekBar
android:id="@+id/mediacontroller_seekbar"
style="@style/MediaController_SeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
|
|
82
83
84
|
android:layout_below="@id/mediacontroller_play_pause"
android:layout_centerVertical="false"
android:layout_marginTop="25dip"
|
|
85
86
87
88
89
90
91
92
93
94
95
|
android:focusable="true"
android:max="1000" />
<TextView
android:id="@+id/mediacontroller_file_name"
style="@style/MediaController_Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:ellipsize="marquee"
android:singleLine="true" />
|
|
96
|
|
|
97
98
99
|
</RelativeLayout>
</RelativeLayout>
|