blob: 67e8becf04d53c02634a0a06d3a7d3b0c8a9e3b6 [file] [log] [blame]
Andy Stadlere6c65872010-11-16 16:40:34 -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
17<!-- Incoming setup - 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 Stadlere6c65872010-11-16 16:40:34 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Andy Stadler4f2f6032010-12-10 17:53:49 -080021 android:fillViewport="true"
Andy Stadlere6c65872010-11-16 16:40:34 -080022 >
23
Andy Stadler4f2f6032010-12-10 17:53:49 -080024 <LinearLayout
Andy Stadlere6c65872010-11-16 16:40:34 -080025 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
Andy Stadler4f2f6032010-12-10 17:53:49 -080027 android:orientation="vertical"
Andy Stadler3c7c8c92011-01-12 00:40:34 -080028 android:paddingTop="@dimen/setup_padding_top"
29 android:paddingLeft="@dimen/setup_padding_left"
30 android:paddingRight="@dimen/setup_padding_right"
Andy Stadler4f2f6032010-12-10 17:53:49 -080031 >
Andy Stadlere6c65872010-11-16 16:40:34 -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 Stadlere6c65872010-11-16 16:40:34 -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_incoming_headline"
48 android:textAppearance="@style/accountSetupHeadline" />
Andy Stadler4f2f6032010-12-10 17:53:49 -080049 <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 -->
Andy Stadler3c7c8c92011-01-12 00:40:34 -080058 <FrameLayout
Andy Stadler4f2f6032010-12-10 17:53:49 -080059 android:layout_below="@+id/top_divider"
Andy Stadler4f2f6032010-12-10 17:53:49 -080060 android:layout_width="match_parent"
61 android:layout_height="wrap_content"
Andy Stadler3c7c8c92011-01-12 00:40:34 -080062 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>
Andy Stadler4f2f6032010-12-10 17:53:49 -080072 </RelativeLayout>
73
74 <!-- Buttons below -->
75 <RelativeLayout
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
Andy Stadler3c7c8c92011-01-12 00:40:34 -080078 android:layout_marginBottom="@dimen/setup_buttons_padding_bottom"
Andy Stadler4f2f6032010-12-10 17:53:49 -080079 >
Andy Stadler4f2f6032010-12-10 17:53:49 -080080 <Button
81 android:id="@+id/previous"
82 android:layout_alignParentTop="true"
83 android:layout_alignParentLeft="true"
Andy Stadler3c7c8c92011-01-12 00:40:34 -080084 android:layout_marginLeft="@dimen/setup_buttons_padding_left"
Andy Stadler4f2f6032010-12-10 17:53:49 -080085 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"
Andy Stadler3c7c8c92011-01-12 00:40:34 -080091 android:layout_marginRight="@dimen/setup_buttons_padding_right"
Andy Stadler4f2f6032010-12-10 17:53:49 -080092 style="@style/accountSetupButton"
93 android:text="@string/next_action" />
94 </RelativeLayout>
95 </LinearLayout>
96</ScrollView>