Android : LinearLayout gives an error

on Monday, October 27, 2014


iHello there,


I have an problem. I was trying to create an app, but I get an error and I really have no idea how to fix it. It gives a red cross before EditText, and I think it has to do with how everything is opened/closed, but I just can't find a problem.



<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/edit_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />

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



/>


Would like to hear from you.


Greets


0 comments:

Post a Comment