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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <!-- Keyboard Version --> 22 <!-- Modified for greater consistency with the rest of settings. --> 23 <LinearLayout android:id="@+id/pinc" 24 android:orientation="vertical" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content"> 27 28 <LinearLayout 29 android:orientation="horizontal" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:paddingTop="15dip" 33 android:paddingBottom="5dip"> 34 35 <TextView 36 android:layout_width="100dip" 37 android:layout_height="wrap_content" 38 android:paddingStart="10dip" 39 android:textAppearance="?android:attr/textAppearanceMedium" 40 android:text="@string/name" /> 41 42 <EditText android:id="@+id/fdn_name" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:layout_marginEnd="10dip" 46 android:inputType="textPersonName" 47 android:imeOptions="actionNext" 48 android:singleLine="true" 49 android:scrollHorizontally="true" 50 android:autoText="false" 51 android:capitalize="words" /> 52 53 </LinearLayout> 54 55 <LinearLayout 56 android:orientation="horizontal" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:paddingTop="5dip" 60 android:paddingBottom="5dip"> 61 62 <TextView 63 android:layout_width="100dip" 64 android:layout_height="wrap_content" 65 android:paddingStart="10dip" 66 android:textAppearance="?android:attr/textAppearanceMedium" 67 android:text="@string/number" /> 68 69 <EditText android:id="@+id/fdn_number" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:layout_marginEnd="10dip" 73 android:inputType="phone" 74 android:imeOptions="actionDone" 75 android:singleLine="true" 76 android:scrollHorizontally="true" 77 android:autoText="false" 78 android:capitalize="none" /> 79 80 </LinearLayout> 81 82 <Button android:id="@+id/button" 83 android:layout_marginTop="8dip" 84 android:layout_marginStart="10dip" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:text="@string/save" /> 88 89 </LinearLayout> 90 91</RelativeLayout> 92