android layout - The markup in the document following the root element must be well-formed -
i'm sorry, i'm new on this, first app , error @ line 6. thanks
<edittext android:id="@+id/edit_message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:hint="@string/edit_message" /> <resources > <string name="app_name">test</string> <string name="action_settings">settings</string> <string name="title_activity_main">mainactivity</string><string name="edit_message">enter message</string> <string name="button_send">send</string> </resources>
the first thing i'd looking @ space @ end of resources in opening tag:
<resources > try getting rid of that.
the other thing i'd concerned why have controls , string resources in same file.
you place layout stuff (like controls) layout/main.xml , resources values/strings.xml. these aren't hard-and-fast rules they're default when creating projects , work quite well.
Comments
Post a Comment