title: activity_main.xml: String index out of range: 0 in Android Code
body: <p>That's my activity_main.xml, when I try see my Graphical it's returned any errors:</p>
  
  <p>Exception raised during rendering: String index out of range: 0
  Exception details are logged in Window > Show View > Error Log
  The following classes could not be found:
  - EditText (Change to android.widget.EditText, Fix Build Path, Edit XML)</p>
  
  <p>I guess have something with error "activity_main.xml: String index out of range: 0" any like that menssage in my View.</p>
  
  <p>Have anybody can I help me?</p>
  
  <p>Down is my activity:</p>
  
  <pre><code>&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"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context=".MainActivity"&gt;
  
  &lt;TextView
      android:id="@+id/lblPeso"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:text="@string/peso_" /&gt;
  
  &lt;EditText
      android:id="@+id/editText1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_below="@+id/lblPeso"
      android:ems="10" android:inputType="none"&gt;
  
      &lt;requestFocus /&gt;
  &lt;/EditText&gt;
  
  &lt;TextView
      android:id="@+id/lblAltura"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/editText1"
      android:layout_below="@+id/editText1"
      android:layout_marginTop="21dp"
      android:text="@string/altura_" /&gt;
  
  &lt;EditText
      android:id="@+id/editText2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/lblAltura"
      android:layout_below="@+id/lblAltura"
      android:ems="10" android:inputType="none"/&gt;
  
  &lt;Button
      android:id="@+id/buttonCalcular"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@+id/editText2"
      android:layout_marginTop="14dp"
      android:layout_toRightOf="@+id/editText2"
      android:text="@string/calcular_" /&gt;
  
  &lt;EditText
      android:id="@+id/editText3"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/editText2"
      android:layout_below="@+id/buttonCalcular"
      android:ems="10" android:inputType="none"/&gt;
  
  &lt;EditText
      android:id="@+id/editText4"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/editText3"
      android:layout_below="@+id/editText3"
      android:layout_marginTop="20dp"
      android:ems="10" android:inputType=""/&gt;
  
  &lt;TextView
      android:id="@+id/textView1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignBottom="@+id/buttonCalcular"
      android:layout_alignLeft="@+id/editText3"
      android:text="@string/imc_" /&gt;
  
  &lt;TextView
      android:id="@+id/textView2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/editText4"
      android:layout_below="@+id/editText3"
      android:text="@string/pesoIdeal_" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>(ANDROID)</p>