Blame view

VitamioBundle/res/layout/mediacontroller.xml 5.05 KB
Imanol-Mikel Barba Sabariego authored
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"
Imanol-Mikel Barba Sabariego authored
4
    android:layout_height="85dip"
Imanol-Mikel Barba Sabariego authored
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
Imanol-Mikel Barba Sabariego authored
13
        android:id="@+id/relativeLayout1"
Imanol-Mikel Barba Sabariego authored
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" >
Imanol-Mikel Barba Sabariego authored
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" />
Imanol-Mikel Barba Sabariego authored
40
41
42

            <ImageButton
                android:id="@+id/mediacontroller_play_pause"
43
                android:layout_width="30dip"
Imanol-Mikel Barba Sabariego authored
44
45
                android:layout_height="30dip"
                android:layout_centerHorizontal="true"
46
47
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
Imanol-Mikel Barba Sabariego authored
48
49
50
                android:background="#00000000"
                android:contentDescription="@string/mediacontroller_play_pause"
                android:gravity="center"
51
                android:src="@android:drawable/ic_media_pause" />
Imanol-Mikel Barba Sabariego authored
52
53
54

            <ImageButton
                android:id="@+id/ImageButton01"
55
                android:layout_width="30dip"
Imanol-Mikel Barba Sabariego authored
56
                android:layout_height="30dip"
57
58
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
Imanol-Mikel Barba Sabariego authored
59
60
61
62
                android:layout_toLeftOf="@+id/mediacontroller_play_pause"
                android:background="#00000000"
                android:gravity="center"
                android:scaleType="fitCenter"
63
                android:src="@android:drawable/ic_media_rew" />
Imanol-Mikel Barba Sabariego authored
64
65
66

            <ImageButton
                android:id="@+id/ImageButton02"
67
                android:layout_width="30dip"
Imanol-Mikel Barba Sabariego authored
68
                android:layout_height="30dip"
69
70
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
Imanol-Mikel Barba Sabariego authored
71
72
73
74
                android:layout_toRightOf="@+id/mediacontroller_play_pause"
                android:background="#00000000"
                android:gravity="center"
                android:scaleType="fitCenter"
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
                android:src="@android:drawable/ic_media_ff" />

            <ImageButton
                android:id="@+id/ImageButton04"
                android:layout_width="30dip"
                android:layout_height="30dip"
                android:layout_marginLeft="10dip"
                android:layout_marginRight="20dip"
                android:layout_toRightOf="@id/ImageButton02"
                android:background="#00000000"
                android:gravity="center"
                android:scaleType="fitCenter"
                android:src="@android:drawable/ic_media_next" />

            <ImageButton
                android:id="@+id/ImageButton03"
                android:layout_width="30dip"
                android:layout_height="30dip"
                android:layout_marginLeft="20dip"
                android:layout_marginRight="10dip"
                android:layout_toLeftOf="@id/ImageButton01"
                android:background="#00000000"
                android:gravity="center"
                android:scaleType="fitCenter"
                android:src="@android:drawable/ic_media_previous" />
Imanol-Mikel Barba Sabariego authored
100
Imanol-Mikel Barba Sabariego authored
101
102
103
104
105
106
107
        </RelativeLayout>

        <SeekBar
            android:id="@+id/mediacontroller_seekbar"
            style="@style/MediaController_SeekBar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
Imanol-Mikel Barba Sabariego authored
108
109
110
            android:layout_below="@id/mediacontroller_play_pause"
            android:layout_centerVertical="false"
            android:layout_marginTop="25dip"
Imanol-Mikel Barba Sabariego authored
111
112
113
114
115
116
117
118
119
120
121
            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" />
122
Imanol-Mikel Barba Sabariego authored
123
124
125
    </RelativeLayout>

</RelativeLayout>