• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="fill_parent"
19    android:layout_height="fill_parent"
20    android:fillViewport="true"
21    android:scrollbarStyle="outsideInset" >
22
23    <LinearLayout
24        android:layout_width="fill_parent"
25        android:layout_height="fill_parent"
26        android:orientation="vertical" >
27
28        <LinearLayout
29            android:layout_width="fill_parent"
30            android:layout_height="wrap_content"
31            android:layout_weight="1"
32            android:orientation="vertical" >
33            <TextView
34                android:id="@+id/instructions"
35                android:layout_width="fill_parent"
36                android:layout_height="wrap_content"
37                android:layout_marginTop="10dip"
38                android:textSize="20sp"
39                android:text="@string/accounts_welcome"
40                android:textColor="?android:attr/textColorPrimary" />
41            <View
42                android:layout_width="fill_parent"
43                android:layout_height="0dip"
44                android:layout_weight="1" />
45            <EditText
46                android:id="@+id/account_email"
47                android:hint="@string/account_setup_basics_email_hint"
48                android:inputType="textEmailAddress"
49                android:imeOptions="actionNext"
50                android:layout_height="wrap_content"
51                android:layout_width="fill_parent" />
52            <EditText
53                android:id="@+id/account_password"
54                android:hint="@string/account_setup_basics_password_hint"
55                android:inputType="textPassword"
56                android:imeOptions="actionDone"
57                android:layout_height="wrap_content"
58                android:layout_width="fill_parent"
59                android:nextFocusDown="@+id/next" />
60            <CheckBox
61                android:id="@+id/account_default"
62                android:layout_height="wrap_content"
63                android:layout_width="fill_parent"
64                android:text="@string/account_setup_basics_default_label"
65                android:visibility="gone" />
66            <View
67                android:layout_width="fill_parent"
68                android:layout_height="0dip"
69                android:layout_weight="1" />
70        </LinearLayout>
71
72        <RelativeLayout
73            android:layout_width="fill_parent"
74            android:layout_height="54dip"
75            android:background="@android:drawable/bottom_bar" >
76            <Button
77                android:id="@+id/manual_setup"
78                android:text="@string/account_setup_basics_manual_setup_action"
79                android:layout_height="wrap_content"
80                android:layout_width="wrap_content"
81                android:minWidth="@dimen/button_minWidth"
82                android:layout_alignParentLeft="true"
83                android:layout_centerVertical="true" />
84            <Button
85                android:id="@+id/next"
86                android:text="@string/next_action"
87                android:layout_height="wrap_content"
88                android:layout_width="wrap_content"
89                android:minWidth="@dimen/button_minWidth"
90                android:drawableRight="@drawable/button_indicator_next"
91                android:layout_alignParentRight="true"
92                android:layout_centerVertical="true" />
93        </RelativeLayout>
94    </LinearLayout>
95</ScrollView>