android - The markup in the document following the root element must be well-formed. What is the cause of this? -


<?xml version="1.0" encoding="utf-8"?> <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_weight="1"     android:layout_width="0dp"     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" /> </linearlayout>  <resources> <string name="app_name">becreativebuddy</string> </resources> 

im getting error in line 18 out of 20. following tutorial word word because new this. habit of localizing, frustrating because when dont have compiles , runs fine. apologize if simple error, have not found online helps me. mentioned before new try keep simple.

you need delete 3 lines @ end of file starting <resources>. move these 3 lines new file in resources directory.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -