edit_contact_name.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3    android:layout_width="match_parent"
 4    android:layout_height="match_parent"
 5    android:orientation="vertical"
 6    android:padding="8dp">
 7
 8    <TextView
 9        android:id="@+id/textView1"
10        android:layout_width="wrap_content"
11        android:layout_height="wrap_content"
12        android:text="@string/enter_new_name"
13        android:textColor="@color/primarytext"
14        android:textSize="18sp" />
15
16    <EditText
17        android:paddingTop="16dp"
18        android:paddingBottom="8dp"
19        android:id="@+id/editText1"
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:ems="10"
23        android:inputType="textPersonName" >
24
25        <requestFocus />
26    </EditText>
27    
28</LinearLayout>