title: Android Edit Text - Cursor stays at the starting position
body: <p>I am using an Edit Text in my project.</p>
  
  <p>The problem is that whenever I type anything into the text box, it shows up, but the cursor does not move from its starting position at all, regardless of how many characters I type. Also I am not able to move by clicking to any particular character in the text box.</p>
  
  <p>My xml file for containing the edit text is like this</p>
  
  <pre><code>&lt;EditText
          android:id="@+id/xEt"
          android:layout_width="fill_parent"
          android:layout_height="295dp"
          android:layout_alignParentLeft="true"
          android:ems="10"
          android:focusableInTouchMode="true" 
  android:focusable="true" &gt;
  </code></pre>
  
  <p>The xml file is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout 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" &gt;
  
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/xsubLayout"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:keepScreenOn="true"
      android:orientation="vertical" &gt;
  
      &lt;RelativeLayout
          android:id="@+id/relativeLayout1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_alignParentRight="true" &gt;
  
      &lt;/RelativeLayout&gt;
  
      &lt;EditText
          android:id="@+id/xEt"
          android:layout_width="wrap_content"
          android:layout_height="295dp"
          android:layout_alignParentLeft="true"
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:ems="10"
          android:inputType="textMultiLine" &gt;
  
          &lt;requestFocus /&gt;
      &lt;/EditText&gt;
  
  &lt;/RelativeLayout&gt;
  
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="wrap_content" android:id="@+id/xK1"
          android:layout_height="wrap_content" android:orientation="vertical"
          android:visibility="gone"&gt;
          &lt;include android:id="@+id/xKeyBoard" layout="@layout/gf"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/xtop" layout="@layout/top"&gt;&lt;/include&gt;
                  &lt;include android:id="@+id/x11" layout="@layout/x1"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x12" layout="@layout/x3"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x13" layout="@layout/x4"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x14" layout="@layout/x5"&gt;&lt;/include&gt;
  
          &lt;include android:id="@+id/x15" layout="@layout/x6"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x16" layout="@layout/x7"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x17" layout="@layout/x8"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x18" layout="@layout/x9"&gt;&lt;/include&gt;
  
          &lt;include android:id="@+id/x19" layout="@layout/x10"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x20" layout="@layout/x11"&gt;&lt;/include&gt;
  
          &lt;include android:id="@+id/x22" layout="@layout/x13"&gt;&lt;/include&gt;
  
          &lt;include android:id="@+id/x23" layout="@layout/x14"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x24" layout="@layout/x15"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x25" layout="@layout/x16"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x26" layout="@layout/x17"&gt;&lt;/include&gt;
  
          &lt;include android:id="@+id/x27" layout="@layout/x18"&gt;&lt;/include&gt;
          &lt;include android:id="@+id/x28" layout="@layout/x19"&gt;&lt;/include&gt;
  
  
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>