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="match_parent" 19 android:layout_height="match_parent" 20 android:fillViewport="true" > 21 22 <LinearLayout 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:orientation="vertical" > 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:layout_weight="1" 31 android:orientation="vertical" > 32 <TextView 33 android:text="@string/account_setup_names_instructions" 34 android:layout_height="wrap_content" 35 android:layout_width="match_parent" 36 android:textAppearance="?android:attr/textAppearanceMedium" 37 android:textColor="?android:attr/textColorPrimary" /> 38 <TextView 39 android:text="@string/account_setup_names_account_name_label" 40 android:layout_height="wrap_content" 41 android:layout_width="match_parent" 42 android:textAppearance="?android:attr/textAppearanceSmall" 43 android:textColor="?android:attr/textColorPrimary" /> 44 <EditText 45 android:id="@+id/account_description" 46 android:inputType="textCapWords" 47 android:imeOptions="actionDone" 48 android:layout_height="wrap_content" 49 android:layout_width="match_parent" /> 50 <TextView 51 android:id="@+id/account_name_label" 52 android:text="@string/account_setup_names_user_name_label" 53 android:layout_height="wrap_content" 54 android:layout_width="match_parent" 55 android:textAppearance="?android:attr/textAppearanceSmall" 56 android:textColor="?android:attr/textColorPrimary" /> 57 <EditText 58 android:id="@+id/account_name" 59 android:inputType="textPersonName" 60 android:imeOptions="actionDone" 61 android:layout_height="wrap_content" 62 android:layout_width="match_parent" /> 63 </LinearLayout> 64 <RelativeLayout 65 android:layout_width="match_parent" 66 android:layout_height="54dip" 67 android:background="@android:drawable/bottom_bar"> 68 <Button 69 android:id="@+id/done" 70 android:text="@string/done_action" 71 android:layout_height="wrap_content" 72 android:layout_width="wrap_content" 73 android:minWidth="@dimen/button_minWidth" 74 android:layout_alignParentRight="true" 75 android:layout_centerVertical="true" /> 76 </RelativeLayout> 77 </LinearLayout> 78 </ScrollView> 79