java - The markup in the document following the root element must be well -
i have try compalie android code keep getting error markup in document following root element must well
<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/relativelayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/main_bg" android:orientation="vertical" > <imageview android:id="@+id/imageview1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparenttop="true" android:layout_centerhorizontal="true" android:layout_margintop="20dp" android:src="@drawable/main_title" /> <textview android:id="@+id/wwwtext" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentbottom="true" android:layout_centerhorizontal="true" android:layout_marginbottom="35dp" android:text="@string/reklama" android:textappearance="?android:attr/textappearancemedium" android:textcolor="@color/unsel" android:textcolorhighlight="@color/sel" /> <relativelayout android:id="@+id/btn_start" android:layout_width="450dp" android:layout_height="150dp" android:layout_centerhorizontal="true" android:layout_centervertical="true" > <imageview android:id="@+id/ing_btn" android:layout_width="match_parent" android:layout_height="match_parent" android:scaletype="fitxy" android:src="@drawable/btn" /> <textview android:id="@+id/text_start" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentleft="true" android:layout_alignparentright="true" android:layout_centervertical="true" android:gravity="center_horizontal" android:text="@string/start_game" android:textappearance="?android:attr/textappearancemedium" /> </relativelayout> </relativelayout>
i have try hard find answer cannot find have root element , have close xml...
Comments
Post a Comment