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:text="@string/account_setup_names_instructions" 35 android:layout_height="wrap_content" 36 android:layout_width="fill_parent" 37 android:textAppearance="?android:attr/textAppearanceMedium" 38 android:textColor="?android:attr/textColorPrimary" /> 39 <TextView 40 android:text="@string/account_setup_names_account_name_label" 41 android:layout_height="wrap_content" 42 android:layout_width="fill_parent" 43 android:textAppearance="?android:attr/textAppearanceSmall" 44 android:textColor="?android:attr/textColorPrimary" /> 45 <EditText 46 android:id="@+id/account_description" 47 android:inputType="textCapWords" 48 android:imeOptions="actionDone" 49 android:layout_height="wrap_content" 50 android:layout_width="fill_parent" /> 51 <TextView 52 android:text="@string/account_setup_names_user_name_label" 53 android:layout_height="wrap_content" 54 android:layout_width="fill_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="fill_parent" /> 63 </LinearLayout> 64 <RelativeLayout 65 android:layout_width="fill_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