title: Text field not working in Android Studio
body: <p>I am a beginner in android world, I just want to learn new things</p>
  
  <p>My problem is that I am not able to insert 'Person Name' text field in the graphical layout.</p>
  
  <p>I have inserted a large text field and changed the id after that when i am inserting person name field to the graphical layout a error pops up displaying  </p>
  
  <p><img src="https://i.stack.imgur.com/ACLD6.png" alt="enter image description here">  and when i install L-Preview, it is not able to install.</p>
  
  <p>layout code before adding text field :-</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
  android:orientation="vertical"&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textAppearance="?android:attr/textAppearanceLarge"
      android:text="Contact Creator"
      android:id="@+id/lblCreatorTitle"
      android:layout_marginTop="5dp"
      android:layout_gravity="center_horizontal" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>layout code after adding text field:-
      </p>
  
  <pre><code>&lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textAppearance="?android:attr/textAppearanceLarge"
      android:text="Contact Creator"
      android:id="@+id/lblCreatorTitle"
      android:layout_marginTop="5dp"
      android:layout_gravity="center_horizontal" /&gt;
  
  &lt;EditText
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:inputType="textPersonName"
      android:text="Name"
      android:ems="10"
      android:id="@+id/editText"
      android:layout_gravity="center_horizontal" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>I am using android studio 0.8.14 and jdk1.8.0_25 and API 20 :Android 4.4W. 
  Please Help, I am not familiar with many concepts in android as i am new to this.</p>
  
  <p>Thanks in advance!</p>