title: Android - The following classes could not be found: - SubmitText (Fix Build Path, Edit XML)
body: <p>When trying to view the Graphical Layout view of my application, I get the following error:</p>
  
  <pre><code>The following classes could not be found:
  - SubmitText (Fix Build Path, Edit XML)
  </code></pre>
  
  <p>This is my Activity_main xml file.</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:orientation="horizontal"
      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;EditText android:id="@+id/edit_message"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:hint="@string/edit_message"
           /&gt;
  
      &lt;SubmitText android:id="@+id/Submit_text"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:hint="@string/Submit_text"
          /&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/button_send"
  
      /&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/button_exit"
      /&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Does anyone know what causes this error message to flag?
  Thank you for your time.</p>