blob: b6f136d49da66bce9791451d208b7377bac808ac [file] [log] [blame]
Andy Stadler7fd78d82010-11-15 18:37:56 -08001<?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 Stadlere6c65872010-11-16 16:40:34 -080017<!-- Account Options - XL - portrait - see layout/ for small-screen version -->
Andy Stadler4f2f6032010-12-10 17:53:49 -080018<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
Andy Stadler7fd78d82010-11-15 18:37:56 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Andy Stadler4f2f6032010-12-10 17:53:49 -080021 android:fillViewport="true"
Andy Stadler7fd78d82010-11-15 18:37:56 -080022 >
23
Andy Stadler4f2f6032010-12-10 17:53:49 -080024 <LinearLayout
Andy Stadler7fd78d82010-11-15 18:37:56 -080025 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
Andy Stadler4f2f6032010-12-10 17:53:49 -080027 android:orientation="vertical"
Andy Stadlera7b781b2011-01-10 00:42:26 -080028 android:paddingTop="@dimen/setup_padding_top"
29 android:paddingLeft="@dimen/setup_padding_left"
30 android:paddingRight="@dimen/setup_padding_right"
Andy Stadler7fd78d82010-11-15 18:37:56 -080031 >
Andy Stadler7fd78d82010-11-15 18:37:56 -080032
Andy Stadler4f2f6032010-12-10 17:53:49 -080033 <RelativeLayout
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:layout_weight="1"
Andy Stadler4f2f6032010-12-10 17:53:49 -080037 >
Andy Stadler7fd78d82010-11-15 18:37:56 -080038
Andy Stadler4f2f6032010-12-10 17:53:49 -080039 <!-- 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 Stadler3c7c8c92011-01-12 00:40:34 -080052 android:layout_marginBottom="16dip"
Andy Stadler4f2f6032010-12-10 17:53:49 -080053 android:layout_width="match_parent"
54 android:layout_height="1px"
55 android:background="@color/account_setup_divider_color" />
56
Andy Stadlera7b781b2011-01-10 00:42:26 -080057 <!-- Frame on the top containing the (common) setup info -->
58 <FrameLayout
59 android:id="@+id/common"
Andy Stadler4f2f6032010-12-10 17:53:49 -080060 android:layout_below="@+id/top_divider"
Andy Stadlera7b781b2011-01-10 00:42:26 -080061 android:layout_alignParentLeft="true"
62 android:layout_alignParentRight="true"
Andy Stadler4f2f6032010-12-10 17:53:49 -080063 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 >
Andy Stadlera7b781b2011-01-10 00:42:26 -080066 <include
67 layout="@layout/account_setup_options_common"
68 />
69 </FrameLayout>
Andy Stadler4f2f6032010-12-10 17:53:49 -080070 </RelativeLayout>
71
72 <!-- Buttons below -->
73 <RelativeLayout
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content"
Andy Stadlera7b781b2011-01-10 00:42:26 -080076 android:layout_marginBottom="@dimen/setup_buttons_padding_bottom"
Andy Stadler4f2f6032010-12-10 17:53:49 -080077 >
78 <Button
79 android:id="@+id/previous"
80 android:layout_alignParentTop="true"
81 android:layout_alignParentLeft="true"
Andy Stadlera7b781b2011-01-10 00:42:26 -080082 android:layout_marginLeft="@dimen/setup_buttons_padding_left"
Andy Stadler4f2f6032010-12-10 17:53:49 -080083 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 Stadlera7b781b2011-01-10 00:42:26 -080089 android:layout_marginRight="@dimen/setup_buttons_padding_right"
Andy Stadler4f2f6032010-12-10 17:53:49 -080090 style="@style/accountSetupButton"
91 android:text="@string/next_action" />
92 </RelativeLayout>
93 </LinearLayout>
94</ScrollView>