blob: e7ed643d550ad4be9260d6fe8837f404edf094f5 [file] [log] [blame]
Dharmesh Mokani66e1d302014-07-25 15:27:41 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:orientation="vertical" >
22
23 <ProgressBar
24 android:id="@+id/playback_progress"
25 style="?android:attr/progressBarStyleHorizontal"
26 android:layout_width="match_parent"
27 android:layout_height="4dp"
28 android:maxHeight="4dp"
29 android:minHeight="4dp"
30 android:progressDrawable="@drawable/lb_playback_progress_bar" />
31
32 <FrameLayout
33 android:id="@+id/controls_container"
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content" >
36
Dharmesh Mokanife7af4e2014-07-31 09:29:59 -070037 <android.support.v17.leanback.widget.ControlBar
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070038 android:id="@+id/control_bar"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:layout_gravity="center_horizontal"
42 android:orientation="horizontal" />
43
44 <FrameLayout
45 android:id="@+id/more_actions_dock"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_gravity="right" />
49
50 <TextView
51 android:id="@+id/current_time"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
Ying Wangbb09c252014-08-05 14:40:52 -070054 android:layout_gravity="top|start"
55 android:layout_marginStart="@dimen/lb_playback_current_time_margin_start"
56 android:paddingTop="@dimen/lb_playback_time_padding_top"
57 style="?attr/playbackControlsTimeStyle" />
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070058
59 <TextView
60 android:id="@+id/total_time"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
Ying Wangbb09c252014-08-05 14:40:52 -070063 android:layout_gravity="top|end"
64 android:layout_marginEnd="@dimen/lb_playback_total_time_margin_end"
65 android:paddingTop="@dimen/lb_playback_time_padding_top"
66 style="?attr/playbackControlsTimeStyle" />
67
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070068 </FrameLayout>
69
70</LinearLayout>