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 <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 <TextView 42 android:id="@+id/instructions" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/accounts_welcome" 46 style="@style/account_setup_info_text" /> 47 <EditText 48 android:id="@+id/account_email" 49 android:hint="@string/account_setup_basics_email_label" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content" 52 android:textAppearance="?android:attr/textAppearanceMedium" 53 android:inputType="textEmailAddress" /> 54 </LinearLayout> 55