1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:layout_gravity="center_vertical"
12 android:orientation="vertical"
13 android:gravity="start">
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:text="@string/time_picker_dialog_title"
19 android:textSize="20sp"
20 android:paddingStart="5dp"
21 android:paddingEnd="5dp"
22 android:paddingBottom="5dp"
23 android:paddingTop="5dp"
24 android:gravity="start"
25 android:textColor="#33B5E5"
29 android:layout_width="match_parent"
30 android:layout_height="2dp"
31 android:paddingBottom="5dp"
32 android:paddingTop="5dp"
33 android:background="#33B5E5"/>
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:layout_gravity="center_horizontal"
39 android:orientation="horizontal"
40 android:gravity="center">
43 android:id="@+id/hour"
44 android:layout_width="0dp"
45 android:layout_weight=".2"
46 android:textSize="12sp"
47 android:layout_height="wrap_content"
48 android:layout_marginStart="4dp"
49 android:layout_marginEnd="4dp"
50 android:focusable="true"
51 android:focusableInTouchMode="true"
52 android:contentDescription="@string/accessibility_time_picker_hour"
55 android:layout_width="wrap_content"
56 android:textSize="12sp"
57 android:layout_height="wrap_content"
58 android:text="@string/time_picker_dialog_hour_minute_separator"
61 android:id="@+id/minute"
62 android:layout_width="0dp"
63 android:layout_weight=".2"
64 android:textSize="12sp"
65 android:layout_height="wrap_content"
66 android:layout_marginStart="4dp"
67 android:layout_marginEnd="4dp"
68 android:focusable="true"
69 android:focusableInTouchMode="true"
70 android:contentDescription="@string/accessibility_time_picker_minute"
73 android:id="@+id/second_colon"
74 android:layout_width="wrap_content"
75 android:textSize="12sp"
76 android:layout_height="wrap_content"
77 android:text="@string/time_picker_dialog_minute_second_separator" />
79 android:id="@+id/second"
80 android:layout_width="0dp"
81 android:layout_weight=".2"
82 android:textSize="12sp"
83 android:layout_height="wrap_content"
84 android:layout_marginStart="4dp"
85 android:layout_marginEnd="4dp"
86 android:focusable="true"
87 android:focusableInTouchMode="true"
88 android:contentDescription="@string/accessibility_time_picker_second"
91 android:id="@+id/second_dot"
92 android:layout_width="wrap_content"
93 android:textSize="12sp"
94 android:layout_height="wrap_content"
95 android:text="@string/time_picker_dialog_second_subsecond_separator"
98 android:id="@+id/milli"
99 android:layout_width="0dp"
100 android:layout_weight=".2"
101 android:textSize="12sp"
102 android:layout_height="wrap_content"
103 android:layout_marginStart="4dp"
104 android:layout_marginEnd="4dp"
105 android:focusable="true"
106 android:focusableInTouchMode="true"
107 android:contentDescription="@string/accessibility_time_picker_milli"
110 android:id="@+id/ampm"
111 android:layout_width="0dp"
112 android:layout_weight=".2"
113 android:textSize="12sp"
114 android:layout_height="wrap_content"
115 android:layout_marginStart="4dp"
116 android:layout_marginEnd="4dp"
117 android:focusable="true"
118 android:focusableInTouchMode="true"
119 android:contentDescription="@string/accessibility_time_picker_ampm"