Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/widget_type" |
| 19 | android:paddingLeft="32dp" |
| 20 | android:paddingRight="32dp" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
| 23 | android:orientation="vertical"> |
| 24 | <RadioButton android:id="@+id/widget_type_album" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
| 27 | android:layout_weight="1" |
| 28 | android:minHeight="48dp" |
| 29 | android:text="@string/widget_type_album"/> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 30 | <RadioButton android:id="@+id/widget_type_photo" |
| 31 | android:layout_width="match_parent" |
| 32 | android:layout_height="wrap_content" |
| 33 | android:layout_weight="1" |
| 34 | android:minHeight="48dp" |
| 35 | android:text="@string/widget_type_photo"/> |
Ray Chen | 6b5ba47 | 2011-10-28 12:01:49 +0800 | [diff] [blame] | 36 | <RadioButton android:id="@+id/widget_type_shuffle" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_weight="1" |
| 40 | android:minHeight="48dp" |
| 41 | android:text="@string/widget_type_shuffle"/> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 42 | <View android:layout_width="match_parent" |
| 43 | android:layout_height="1dp" |
| 44 | android:layout_weight="0" |
| 45 | android:layout_marginLeft="16dp" |
| 46 | android:layout_marginRight="16dp" |
| 47 | android:background="?android:attr/dividerHorizontal" /> |
| 48 | <Button style="?android:attr/buttonBarButtonStyle" |
| 49 | android:id="@+id/cancel" |
| 50 | android:layout_weight="0" |
| 51 | android:layout_width="match_parent" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:text="@android:string/cancel" /> |
| 54 | </RadioGroup> |