1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2008 OpenIntents.org
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<RelativeLayout
18  xmlns:android="http://schemas.android.com/apk/res/android"
19  android:orientation="vertical"
20  android:layout_width="wrap_content"
21  android:layout_height="wrap_content">
22  <com.googlecode.android_scripting.widget.NumberPicker
23    android:id="@+id/day"
24    android:layout_width="70dip"
25    android:layout_height="wrap_content"
26    android:focusable="true"
27    android:focusableInTouchMode="true" />
28  <TextView
29    android:text="@string/display_days"
30    android:gravity="center_horizontal"
31    android:layout_width="70dip"
32    android:layout_height="wrap_content"
33    android:layout_below="@+id/day"
34    android:layout_alignLeft="@+id/day" />
35  <com.googlecode.android_scripting.widget.NumberPicker
36    android:id="@+id/hour"
37    android:layout_width="70dip"
38    android:layout_height="wrap_content"
39    android:layout_marginLeft="2dip"
40    android:focusable="true"
41    android:focusableInTouchMode="true"
42    android:layout_toRightOf="@+id/day" />
43  <TextView
44    android:text="@string/display_hours"
45    android:gravity="center_horizontal"
46    android:layout_width="70dip"
47    android:layout_height="wrap_content"
48    android:layout_below="@+id/hour"
49    android:layout_alignLeft="@+id/hour" />
50   <com.googlecode.android_scripting.widget.NumberPicker
51    android:id="@+id/minute"
52    android:layout_width="70dip"
53    android:layout_height="wrap_content"
54    android:layout_marginLeft="2dip"
55    android:focusable="true"
56    android:focusableInTouchMode="true"
57    android:layout_toRightOf="@+id/hour" />
58  <TextView
59    android:text="@string/display_minutes"
60    android:gravity="center_horizontal"
61    android:layout_width="70dip"
62    android:layout_height="wrap_content"
63    android:layout_below="@+id/minute"
64    android:layout_alignLeft="@+id/minute" />
65  <com.googlecode.android_scripting.widget.NumberPicker
66    android:id="@+id/second"
67    android:layout_width="70dip"
68    android:layout_height="wrap_content"
69    android:layout_marginLeft="2dip"
70    android:focusable="true"
71    android:focusableInTouchMode="true"
72    android:layout_toRightOf="@+id/minute" />
73  <TextView
74    android:text="@string/display_seconds"
75    android:gravity="center_horizontal"
76    android:layout_width="70dip"
77    android:layout_height="wrap_content"
78    android:layout_below="@+id/second"
79    android:layout_alignLeft="@+id/second" />
80</RelativeLayout>
81