blob: 01869ef3832dfccfda1891887b0070f877b8cef2 [file] [log] [blame]
The Android Open Source Project792a2202009-03-03 19:32:30 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2008, 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<!-- Layout of time picker-->
21
22<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23 android:orientation="vertical"
Romain Guy5ae9f472010-01-08 15:07:04 -080024 android:layout_width="match_parent"
The Android Open Source Project792a2202009-03-03 19:32:30 -080025 android:layout_height="wrap_content">
26
27 <TextView
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" />
33
34 <!-- weeks -->
Marco Nelissenca04d622010-01-12 10:58:58 -080035 <com.android.music.VerticalTextSpinner
The Android Open Source Project792a2202009-03-03 19:32:30 -080036 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"
Marco Nelissen2da51fa2009-07-21 15:12:16 -070042 android:layout_marginTop="6dip"
43 android:layout_marginBottom="6dip"
The Android Open Source Project792a2202009-03-03 19:32:30 -080044 />
45
46 <!-- Set button -->
47 <RelativeLayout
Romain Guy5ae9f472010-01-08 15:07:04 -080048 android:layout_width="match_parent"
The Android Open Source Project792a2202009-03-03 19:32:30 -080049 android:layout_height="wrap_content"
Marco Nelissen2da51fa2009-07-21 15:12:16 -070050 android:padding="6dip"
The Android Open Source Project792a2202009-03-03 19:32:30 -080051 android:background="#ffffff" >
52
53 <Button android:id="@+id/set"
Marco Nelissen2da51fa2009-07-21 15:12:16 -070054 android:layout_width="120dip"
The Android Open Source Project792a2202009-03-03 19:32:30 -080055 android:layout_height="wrap_content"
56 android:text="@string/weekpicker_set"
57 android:layout_alignParentLeft="true" />
58
59 <Button android:id="@+id/cancel"
Marco Nelissen2da51fa2009-07-21 15:12:16 -070060 android:layout_width="120dip"
The Android Open Source Project792a2202009-03-03 19:32:30 -080061 android:layout_height="wrap_content"
62 android:text="@string/cancel"
63 android:layout_alignParentRight="true" />
64
65 </RelativeLayout>
66
67</LinearLayout>
68