The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 1 | <?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 Guy | 5ae9f47 | 2010-01-08 15:07:04 -0800 | [diff] [blame] | 24 | android:layout_width="match_parent" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 25 | 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 Nelissen | ca04d62 | 2010-01-12 10:58:58 -0800 | [diff] [blame] | 35 | <com.android.music.VerticalTextSpinner |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 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" |
Marco Nelissen | 2da51fa | 2009-07-21 15:12:16 -0700 | [diff] [blame] | 42 | android:layout_marginTop="6dip" |
| 43 | android:layout_marginBottom="6dip" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 44 | /> |
| 45 | |
| 46 | <!-- Set button --> |
| 47 | <RelativeLayout |
Romain Guy | 5ae9f47 | 2010-01-08 15:07:04 -0800 | [diff] [blame] | 48 | android:layout_width="match_parent" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
Marco Nelissen | 2da51fa | 2009-07-21 15:12:16 -0700 | [diff] [blame] | 50 | android:padding="6dip" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 51 | android:background="#ffffff" > |
| 52 | |
| 53 | <Button android:id="@+id/set" |
Marco Nelissen | 2da51fa | 2009-07-21 15:12:16 -0700 | [diff] [blame] | 54 | android:layout_width="120dip" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 55 | android:layout_height="wrap_content" |
| 56 | android:text="@string/weekpicker_set" |
| 57 | android:layout_alignParentLeft="true" /> |
| 58 | |
| 59 | <Button android:id="@+id/cancel" |
Marco Nelissen | 2da51fa | 2009-07-21 15:12:16 -0700 | [diff] [blame] | 60 | android:layout_width="120dip" |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 61 | android:layout_height="wrap_content" |
| 62 | android:text="@string/cancel" |
| 63 | android:layout_alignParentRight="true" /> |
| 64 | |
| 65 | </RelativeLayout> |
| 66 | |
| 67 | </LinearLayout> |
| 68 | |