1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2011, The Android Open Source Project
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
10 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 <!-- Layout of time picker -->
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23 android:id="@+id/timePickerLayout"
24 android:orientation="horizontal"
25 android:layout_gravity="center_horizontal"
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:paddingStart="8dip"
29 android:paddingEnd="8dip">
31 <LinearLayout android:orientation="horizontal"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:paddingStart="8dip"
35 android:paddingEnd="8dip"
36 android:layoutDirection="ltr">
40 android:id="@+id/hour"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_marginTop="16dip"
44 android:layout_marginBottom="16dip"
45 android:focusable="true"
46 android:focusableInTouchMode="true"
51 android:id="@+id/divider"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_marginStart="6dip"
55 android:layout_marginEnd="6dip"
56 android:layout_gravity="center_vertical"
57 android:importantForAccessibility="no"
62 android:id="@+id/minute"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_marginTop="16dip"
66 android:layout_marginBottom="16dip"
67 android:focusable="true"
68 android:focusableInTouchMode="true"
75 android:id="@+id/amPm"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:layout_marginTop="16dip"
79 android:layout_marginBottom="16dip"
80 android:layout_marginStart="8dip"
81 android:layout_marginEnd="8dip"
82 android:focusable="true"
83 android:focusableInTouchMode="true"