android - Error parsing XML: not well-formed (invalid token) andElement type "LinearLayout" must be followed by either attribute specifications, ">" or "/>" -


<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" <button     android:layout_width="wrap_content"     android:layout_height="wrap_conent"     android:text="@string/button_send"/>  <?xml version"1.0" encoding="utf-8"?>  <rescources>     <string android:name="app_name">becreativebuddy</string>     <string android:name="edit_message">enter message</string>     <string android:name="button_send">send</string>     <string android:name="action_settings">settings</string>     <string android:name="title_activity_main">mainactivity</string> </rescources>   </linearlayout> 

im getting 2 errors stated in title in line 7. have no idea why telling me have idea, because of fact learning, nice.

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 closed. every view needs closed @ point />. linearlayout root view being closed @ end

</linearlayout> 

so needs > @ 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 ready closed since done adding properties add />

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

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 -