Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 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 | |
Andy Stadler | e6c6587 | 2010-11-16 16:40:34 -0800 | [diff] [blame] | 17 | <!-- Account Options - XL - portrait - see layout/ for small-screen version --> |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 18 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 21 | android:fillViewport="true" |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 22 | > |
| 23 | |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 24 | <LinearLayout |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 27 | android:orientation="vertical" |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 28 | android:paddingTop="@dimen/setup_padding_top" |
| 29 | android:paddingLeft="@dimen/setup_padding_left" |
| 30 | android:paddingRight="@dimen/setup_padding_right" |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 31 | > |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 32 | |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 33 | <RelativeLayout |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:layout_weight="1" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 37 | > |
Andy Stadler | 7fd78d8 | 2010-11-15 18:37:56 -0800 | [diff] [blame] | 38 | |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 39 | <!-- Headline and hairline divider --> |
| 40 | <TextView |
| 41 | android:id="@+id/headline" |
| 42 | android:layout_alignParentTop="true" |
| 43 | android:layout_alignParentLeft="true" |
| 44 | android:layout_marginLeft="16dip" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:text="@string/account_setup_options_headline" |
| 48 | android:textAppearance="@style/accountSetupHeadline" /> |
| 49 | <View |
| 50 | android:id="@+id/top_divider" |
| 51 | android:layout_below="@+id/headline" |
Andy Stadler | 3c7c8c9 | 2011-01-12 00:40:34 -0800 | [diff] [blame] | 52 | android:layout_marginBottom="16dip" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="1px" |
| 55 | android:background="@color/account_setup_divider_color" /> |
| 56 | |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 57 | <!-- Frame on the top containing the (common) setup info --> |
| 58 | <FrameLayout |
| 59 | android:id="@+id/common" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 60 | android:layout_below="@+id/top_divider" |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 61 | android:layout_alignParentLeft="true" |
| 62 | android:layout_alignParentRight="true" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | > |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 66 | <include |
| 67 | layout="@layout/account_setup_options_common" |
| 68 | /> |
| 69 | </FrameLayout> |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 70 | </RelativeLayout> |
| 71 | |
| 72 | <!-- Buttons below --> |
| 73 | <RelativeLayout |
| 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="wrap_content" |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 76 | android:layout_marginBottom="@dimen/setup_buttons_padding_bottom" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 77 | > |
| 78 | <Button |
| 79 | android:id="@+id/previous" |
| 80 | android:layout_alignParentTop="true" |
| 81 | android:layout_alignParentLeft="true" |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 82 | android:layout_marginLeft="@dimen/setup_buttons_padding_left" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 83 | style="@style/accountSetupButton" |
| 84 | android:text="@string/previous_action" /> |
| 85 | <Button |
| 86 | android:id="@+id/next" |
| 87 | android:layout_alignParentTop="true" |
| 88 | android:layout_alignParentRight="true" |
Andy Stadler | a7b781b | 2011-01-10 00:42:26 -0800 | [diff] [blame] | 89 | android:layout_marginRight="@dimen/setup_buttons_padding_right" |
Andy Stadler | 4f2f603 | 2010-12-10 17:53:49 -0800 | [diff] [blame] | 90 | style="@style/accountSetupButton" |
| 91 | android:text="@string/next_action" /> |
| 92 | </RelativeLayout> |
| 93 | </LinearLayout> |
| 94 | </ScrollView> |