1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7  
8          http://www.apache.org/licenses/LICENSE-2.0
9  
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:background="#CC000000"
21    android:orientation="vertical"
22    android:layoutDirection="ltr">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:gravity="center"
28        android:paddingTop="4dip"
29        android:orientation="horizontal">
30
31        <ImageButton android:id="@+id/prev" style="@android:style/MediaButton.Previous" />
32        <ImageButton android:id="@+id/rew" style="@android:style/MediaButton.Rew" />
33        <ImageButton android:id="@+id/pause" style="@android:style/MediaButton.Play" />
34        <ImageButton android:id="@+id/ffwd" style="@android:style/MediaButton.Ffwd" />
35        <ImageButton android:id="@+id/next" style="@android:style/MediaButton.Next" />
36
37    </LinearLayout>
38
39    <LinearLayout
40        android:layout_width="match_parent"
41        android:layout_height="wrap_content"
42        android:orientation="horizontal">
43
44        <TextView android:id="@+id/time_current"
45            android:textSize="14sp"
46            android:textStyle="bold"
47            android:paddingTop="4dip"
48            android:paddingStart="4dip"
49            android:layout_gravity="center_horizontal"
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:paddingEnd="4dip"
53            android:textColor="@color/dim_foreground_dark" />
54
55        <SeekBar
56            android:id="@+id/mediacontroller_progress"
57            style="?android:attr/progressBarStyleHorizontal"
58            android:layout_width="0dip"
59            android:layout_weight="1"
60            android:layout_height="32dip"
61            android:layout_alignParentStart="true"
62            android:layout_alignParentEnd="true" />
63
64        <TextView android:id="@+id/time"
65            android:textSize="14sp"
66            android:textStyle="bold"
67            android:paddingTop="4dip"
68            android:paddingEnd="4dip"
69            android:layout_gravity="center_horizontal"
70            android:layout_width="wrap_content"
71            android:layout_height="wrap_content"
72            android:paddingStart="4dip"
73            android:textColor="@color/dim_foreground_dark" />
74    </LinearLayout>
75
76</LinearLayout>
77