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 17 <!-- Account setup - XL - portrait - see layout/ for small-screen version --> 18 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:fillViewport="true" 22 > 23 24 <LinearLayout 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:orientation="vertical" 28 android:paddingTop="@dimen/setup_padding_top" 29 android:paddingLeft="@dimen/setup_padding_left" 30 android:paddingRight="@dimen/setup_padding_right" 31 > 32 33 <RelativeLayout 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_weight="1" 37 > 38 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_basics_headline" 48 android:textAppearance="@style/accountSetupHeadline" /> 49 <View 50 android:id="@+id/top_divider" 51 android:layout_below="@+id/headline" 52 android:layout_marginBottom="16dip" 53 android:layout_width="match_parent" 54 android:layout_height="1px" 55 android:background="@color/account_setup_divider_color" /> 56 57 <!-- Frame on the top containing the (common) setup info --> 58 <FrameLayout 59 android:id="@+id/common" 60 android:layout_below="@+id/top_divider" 61 android:layout_alignParentLeft="true" 62 android:layout_alignParentRight="true" 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 > 66 <include 67 layout="@layout/account_setup_basics_common" 68 /> 69 </FrameLayout> 70 </RelativeLayout> 71 72 <!-- Buttons below --> 73 <RelativeLayout 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:layout_marginBottom="@dimen/setup_buttons_padding_bottom" 77 > 78 <!-- Buttons below --> 79 <Button 80 android:id="@+id/manual_setup" 81 android:layout_alignParentTop="true" 82 android:layout_alignParentLeft="true" 83 android:layout_marginLeft="@dimen/setup_buttons_padding_left" 84 style="@style/accountSetupButton" 85 android:text="@string/account_setup_basics_manual_setup_action" /> 86 <Button 87 android:id="@+id/next" 88 android:layout_alignParentTop="true" 89 android:layout_alignParentRight="true" 90 android:layout_marginRight="@dimen/setup_buttons_padding_right" 91 style="@style/accountSetupButton" 92 android:text="@string/next_action" /> 93 </RelativeLayout> 94 </LinearLayout> 95 </ScrollView>