0

アプリケーションのグラフィカル レイアウト ビューを表示しようとすると、次のエラーが表示されます。

The following classes could not be found:
- SubmitText (Fix Build Path, Edit XML)

これは私の Activity_main xml ファイルです。

<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" >

    <EditText android:id="@+id/edit_message"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:hint="@string/edit_message"
         />

    <SubmitText android:id="@+id/Submit_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:hint="@string/Submit_text"
        />

<Button
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_send"

    />

<Button
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_exit"
    />
        </LinearLayout>

このエラーメッセージがフラグを立てる原因を知っている人はいますか? お時間をいただきありがとうございます。

4

1 に答える 1