<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/label_contact_name" android:textSize="20sp" > </TextView> <EditText android:id="@+id/txtName" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/input_contact_name" android:inputType="textPersonName" > </EditText> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/label_contact_phonenumber" android:textSize="20sp" > </TextView> <EditText android:id="@+id/txtNumber" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/input_contact_phonenumber" android:inputType="phone" > </EditText> </LinearLayout> </LinearLayout>