• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<!-- Common data-entry area of initial account setup screen - email, password, default check -->
18<!-- small screen version -->
19<RelativeLayout
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:paddingLeft="@dimen/setup_item_inset_left"
24    android:paddingRight="@dimen/setup_item_inset_right"
25    >
26    <TextView
27        android:id="@+id/instructions"
28        android:layout_alignParentTop="true"
29        android:layout_alignParentLeft="true"
30        android:layout_width="match_parent"
31        android:layout_height="wrap_content"
32        android:layout_marginTop="10dip"
33        android:textSize="20sp"
34        android:text="@string/accounts_welcome"
35        android:textAppearance="@style/accountSetupInfoText" />
36    <EditText
37        android:id="@+id/account_email"
38        android:hint="@string/account_setup_basics_email_label"
39        android:contentDescription="@string/account_setup_basics_email_label"
40        android:inputType="textEmailAddress"
41        android:imeOptions="actionNext"
42        android:layout_below="@+id/instructions"
43        android:layout_height="wrap_content"
44        android:layout_width="match_parent" />
45    <EditText
46        android:id="@+id/account_password"
47        android:hint="@string/account_setup_basics_password_label"
48        android:contentDescription="@string/account_setup_basics_password_label"
49        android:inputType="textPassword"
50        android:imeOptions="actionDone"
51        android:layout_below="@+id/account_email"
52        android:layout_height="wrap_content"
53        android:layout_width="match_parent"
54        android:nextFocusDown="@+id/next" />
55    <CheckBox
56        android:id="@+id/account_default"
57        android:layout_below="@+id/account_password"
58        android:layout_height="wrap_content"
59        android:layout_width="match_parent"
60        android:text="@string/account_setup_basics_default_label"
61        android:visibility="gone" />
62</RelativeLayout>
63