The Markup In The Document Following The Root Element Must Be Well-formed?
Im getting this error in my activity_main.xml on line 9 by I have no idea why please help.
and so on. Basically it says that you can only have one root element for the whole XML file. The xml sniplet you've shown does not look complete. Just make sure that you only have one root element for the XML file and rest of them are child of that root element. Hope this helps. If it doesn't then please do post the complete XML file for us to help better.
Update
In the code shown above you have two FrameLayout
root elements. There should be only one. So change it(based on your needs) to something like below, so that only one root element is there:
<?xml version="1.0" encoding="utf-8"?><FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:id="@+id/fullscreen_custom_content"android:layout_width="match_parent"android:layout_height="match_parent"android:background="#FF000000"><FrameLayoutandroid:id="@+id/main_content"android:layout_width="match_parent"android:layout_height="match_parent"/><WebViewandroid:id="@+id/webView"android:layout_width="fill_parent"android:layout_height="fill_parent" /></FrameLayout>
Post a Comment for "The Markup In The Document Following The Root Element Must Be Well-formed?"