These Views
here
<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"
<EditText android:id="@+id/editmessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/edit_message"
need to be closed. Every View
needs to be closed at some point with />
. The LinearLayout
is a root View
so it is being closed at the end with
</LinearLayout>
so it just needs a >
at the top
<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">
The EditText
is ready to be closed since you are done adding properties to it so add />
<EditText android:id="@+id/editmessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/edit_message"/>