1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2008, 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:orientation="vertical"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content">
28 android:text="@string/weekpicker_title"
29 android:textAppearance="?android:attr/textAppearanceMedium"
30 android:layout_gravity="center_horizontal"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content" />
35 <com.android.internal.widget.VerticalTextSpinner
36 android:id="@+id/weeks"
37 android:layout_width="120dip"
38 android:layout_height="120dip"
39 android:focusable="true"
40 android:focusableInTouchMode="true"
41 android:layout_gravity="center_horizontal"
42 android:layout_marginTop="6px"
43 android:layout_marginBottom="6px"
48 android:layout_width="fill_parent"
49 android:layout_height="wrap_content"
51 android:background="#ffffff" >
53 <Button android:id="@+id/set"
54 android:layout_width="120px"
55 android:layout_height="wrap_content"
56 android:text="@string/weekpicker_set"
57 android:layout_alignParentLeft="true" />
59 <Button android:id="@+id/cancel"
60 android:layout_width="120px"
61 android:layout_height="wrap_content"
62 android:text="@string/cancel"
63 android:layout_alignParentRight="true" />