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 <!-- Incoming 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_incoming_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 <!-- Fragment on the top containing the setup info --> 58 <FrameLayout 59 android:layout_below="@+id/top_divider" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:paddingLeft="16dip" 63 android:paddingRight="96dip" 64 > 65 <fragment 66 android:id="@+id/setup_fragment" 67 class="com.android.email.activity.setup.AccountSetupIncomingFragment" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 /> 71 </FrameLayout> 72 </RelativeLayout> 73 74 <!-- Buttons below --> 75 <RelativeLayout 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content" 78 android:layout_marginBottom="@dimen/setup_buttons_padding_bottom" 79 > 80 <Button 81 android:id="@+id/previous" 82 android:layout_alignParentTop="true" 83 android:layout_alignParentLeft="true" 84 android:layout_marginLeft="@dimen/setup_buttons_padding_left" 85 style="@style/accountSetupButton" 86 android:text="@string/previous_action" /> 87 <Button 88 android:id="@+id/next" 89 android:layout_alignParentTop="true" 90 android:layout_alignParentRight="true" 91 android:layout_marginRight="@dimen/setup_buttons_padding_right" 92 style="@style/accountSetupButton" 93 android:text="@string/next_action" /> 94 </RelativeLayout> 95 </LinearLayout> 96 </ScrollView>