Merge branch 'develop' into loggingtool
[pub/Android/ownCloud.git] / res / layout / media_control.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012-2013 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 -->
21
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:orientation="vertical">
26
27 <LinearLayout
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:gravity="center"
31 android:paddingTop="4dip"
32 android:orientation="horizontal"
33 >
34
35 <ImageButton
36 android:id="@+id/rewindBtn"
37 style="@android:style/MediaButton.Rew"
38 android:contentDescription="@string/media_rewind_description"
39 />
40 <ImageButton
41 android:id="@+id/playBtn"
42 style="@android:style/MediaButton.Play"
43 android:contentDescription="@string/media_play_pause_description"
44 />
45 <ImageButton
46 android:id="@+id/forwardBtn"
47 style="@android:style/MediaButton.Ffwd"
48 android:contentDescription="@string/media_forward_description"
49 />
50
51 </LinearLayout>
52
53 <LinearLayout
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:orientation="horizontal">
57
58 <TextView
59 android:id="@+id/currentTimeText"
60 android:textSize="14sp"
61 android:textStyle="bold"
62 android:paddingTop="4dip"
63 android:paddingStart="4dip"
64 android:layout_gravity="center_horizontal"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:paddingEnd="4dip"
68 android:text="@string/placeholder_media_time"
69 />
70
71 <SeekBar
72 android:id="@+id/progressBar"
73 style="?android:attr/progressBarStyleHorizontal"
74 android:layout_width="0dip"
75 android:layout_weight="1"
76 android:layout_height="32dip"
77 android:layout_alignParentStart="true"
78 android:layout_alignParentEnd="true" />
79
80 <TextView android:id="@+id/totalTimeText"
81 android:textSize="14sp"
82 android:textStyle="bold"
83 android:paddingTop="4dip"
84 android:paddingEnd="4dip"
85 android:layout_gravity="center_horizontal"
86 android:layout_width="wrap_content"
87 android:layout_height="wrap_content"
88 android:paddingStart="4dip"
89 android:text="@string/placeholder_media_time"
90 />
91
92 </LinearLayout>
93
94 </LinearLayout>