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 <!-- Common data-entry area of initial account setup screen - email, password, default check --> 18 <!-- tablet version --> 19 <LinearLayout 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:orientation="vertical" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 > 25 <!-- We don't want the keyboard up when the user arrives in this initial screen --> 26 <View 27 android:layout_height="0dp" 28 android:layout_width="0dp" 29 android:focusable="true" 30 android:focusableInTouchMode="true" 31 android:contentDescription="@null" 32 android:importantForAccessibility="no" > 33 <requestFocus/> 34 </View> 35 <TextView 36 android:id="@+id/lower_headline" 37 android:layout_height="wrap_content" 38 android:layout_width="wrap_content" 39 android:text="@string/account_setup_basics_headline" 40 style="@style/account_setup_lower_headline" 41 android:layout_marginBottom="@dimen/setup_lower_headline_margin_bottom"/> 42 <TextView 43 android:id="@+id/instructions" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:text="@string/accounts_welcome" 47 style="@style/account_setup_info_text" /> 48 <LinearLayout 49 android:paddingTop="16dip" 50 android:orientation="horizontal" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" > 53 <TextView 54 android:layout_height="wrap_content" 55 android:layout_width="wrap_content" 56 android:layout_marginRight="16dip" 57 android:text="@string/account_setup_basics_email_label" 58 style="@style/account_setup_label_large_text" /> 59 <EditText 60 android:id="@+id/account_email" 61 android:contentDescription="@string/account_setup_basics_email_label" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 64 android:inputType="textEmailAddress" /> 65 </LinearLayout> 66 </LinearLayout> 67