• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Names - XL - landscape - 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
22    <RelativeLayout
23        android:layout_width="match_parent"
24        android:layout_height="match_parent"
25        android:paddingTop="@dimen/setup_padding_top"
26        android:paddingLeft="@dimen/setup_padding_left"
27        android:paddingRight="@dimen/setup_padding_right"
28        >
29
30        <!-- Headline and hairline divider -->
31        <TextView
32            android:id="@+id/headline"
33            android:layout_alignParentTop="true"
34            android:layout_alignParentLeft="true"
35            android:layout_marginLeft="16dip"
36            android:layout_width="wrap_content"
37            android:layout_height="wrap_content"
38            android:text="@string/account_setup_names_headline"
39            android:textAppearance="@style/accountSetupHeadline" />
40        <View
41            android:id="@+id/top_divider"
42            android:layout_below="@+id/headline"
43            android:layout_marginBottom="16dip"
44            android:layout_width="match_parent"
45            android:layout_height="1px"
46            android:background="@color/account_setup_divider_color" />
47
48        <!-- Button on the right -->
49        <Button
50            android:id="@+id/next"
51            android:layout_below="@+id/top_divider"
52            android:layout_alignParentRight="true"
53            android:layout_marginTop="@dimen/setup_buttons_vertical_spacing"
54            android:layout_marginRight="@dimen/setup_buttons_padding_right"
55            style="@style/accountSetupButton"
56            android:text="@string/next_action" />
57
58        <!-- Frame on the left containing the (common) setup info -->
59        <FrameLayout
60            android:layout_below="@+id/top_divider"
61            android:layout_alignParentLeft="true"
62            android:layout_toLeftOf="@+id/next"
63            android:layout_marginRight="64dip"
64            android:layout_width="match_parent"
65            android:layout_height="wrap_content"
66            >
67            <include
68                layout="@layout/account_setup_names_common"
69                />
70        </FrameLayout>
71    </RelativeLayout>
72</ScrollView>
73