title: Android Type error: Error parsing XML: not well-formed (invalid token)
body: <p>Im very new to android/java and have been following a few youtube tutorials and have run myself into a serious problem on one of my xml layouts. </p>
  
  <p>Basically im getting an 'Error parsing XML: not well-formed (invalid token)' error on the <code>android:hint</code> of my code in the <code>EditText</code> part. Could anyone give me a clue what Ive done wrong? (Btw theres a chance the code could be a complete mess as i have been messing around just trying to get it to work!)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical"
  android:padding="25dp" &gt;
  
  &lt;EditText
      android:id="@+id/etCommands"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="@string/Type a command"
      android:inputType="true"&gt;
  &lt;/EditText&gt;
  
  &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
      android:weightSum="100" &gt;
  
      &lt;Button
          android:id="@+id/bResults"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="20"
          android:text="@string/Try Command" &gt;
      &lt;/Button&gt;
  
      &lt;ToggleButton
          android:id="@+id/tbPassword"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="80"
          android:checked="true"
          android:paddingBottom="3dp"
          android:text="@string/ToggleButton" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;TextView
      android:id="@+id/tvResults"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:text="@string/Invalid"
  &lt;/TextView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>