1<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2013, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:orientation="vertical">
24    <include
25        layout="@layout/time_picker_header_material"
26        android:layout_width="match_parent"
27        android:layout_height="@dimen/timepicker_header_height"
28        android:layout_gravity="center" />
29    <android.widget.RadialTimePickerView
30        android:id="@+id/radial_picker"
31        android:layout_width="wrap_content"
32        android:layout_height="@dimen/timepicker_radial_picker_dimen"
33        android:layout_gravity="center"
34        android:layout_marginTop="@dimen/timepicker_radial_picker_top_margin"
35        android:layout_marginStart="@dimen/timepicker_radial_picker_horizontal_margin"
36        android:layout_marginEnd="@dimen/timepicker_radial_picker_horizontal_margin" />
37    <TextView
38        android:visibility="gone"
39        android:id="@+id/input_header"
40        android:layout_width="match_parent"
41        android:layout_height="wrap_content"
42        android:paddingStart="@dimen/dialog_padding_material"
43        android:paddingEnd="@dimen/dialog_padding_material"
44        android:paddingTop="20dp"
45        android:paddingBottom="20dp"
46        android:includeFontPadding="false"
47        android:fontFamily="sans-serif-medium"
48        android:textSize="34sp"
49        android:textColor="@color/white"
50        android:text="@string/time_picker_header_text"/>
51    <android.widget.TextInputTimePickerView
52        android:id="@+id/input_mode"
53        android:layout_width="match_parent"
54        android:layout_height="wrap_content"
55        android:paddingStart="?attr/dialogPreferredPadding"
56        android:paddingEnd="?attr/dialogPreferredPadding"
57        android:visibility="gone" />
58
59    <LinearLayout
60        android:layout_width="match_parent"
61        android:layout_height="wrap_content">
62        <ImageButton
63            android:id="@+id/toggle_mode"
64            android:layout_width="wrap_content"
65            android:layout_height="wrap_content"
66            android:layout_gravity="center_vertical"
67            android:layout_marginStart="12dp"
68            android:layout_marginEnd="12dp"
69            android:padding="12dp"
70            android:background="?attr/selectableItemBackgroundBorderless"
71            android:tint="?attr/colorControlNormal"
72            android:src="@drawable/btn_keyboard_key_material"
73            android:contentDescription="@string/time_picker_text_input_mode_description" />
74        <Space
75            android:layout_width="wrap_content"
76            android:layout_height="wrap_content"
77            android:layout_weight="1" />
78        <ViewStub
79            android:id="@id/buttonPanel"
80            android:layout="@layout/alert_dialog_button_bar_material"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            android:layoutDirection="locale" />
84    </LinearLayout>
85
86</LinearLayout>
87