Error:(8) Error parsing XML: junk after document element -


am new in android development app, trying build apk file error"error:(8) error parsing xml: junk after document element"what problem, please need help, can me codes:

`<?xml version="1.0" encoding="utf-8"?>  <framelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"/>  <relativelayout     android:layout_width="fill_parent"     android:layout_height="fill_parent"/>  <com.example.streamradio.radioone.untouchablescrollview     android:id="@+id/scrollview"     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:scrollbars="none"/>      <com.example.streamradio.radioone.untouchablehorizontalscrollview         android:id="@+id/horizontalscrollview"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:scrollbars="none"/>          <linearlayout             android:id="@+id/wallpaper"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:orientation="vertical">              <linearlayout                 android:layout_width="fill_parent"                 android:layout_height="fill_parent"                 android:orientation="horizontal">                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w100" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w101" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w102" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w103" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w200" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w201" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w202" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w203" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w300" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w301" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w302" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w303" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w400" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w401" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w402" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w403" />              </linearlayout>              <linearlayout                 android:layout_width="fill_parent"                 android:layout_height="fill_parent"                 android:orientation="horizontal">                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w110" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w111" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w112" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w113" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w210" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w211" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w212" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w213" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w310" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w311" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w312" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w313" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w410" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w411" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w412" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w413" />              </linearlayout>              <linearlayout                 android:layout_width="fill_parent"                 android:layout_height="fill_parent"                 android:orientation="horizontal">                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w120" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w121" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w122" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w123" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w220" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w221" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w222" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w223" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w320" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w321" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w322" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w323" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w420" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w421" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w422" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w423" />              </linearlayout>              <linearlayout                 android:layout_width="fill_parent"                 android:layout_height="fill_parent"                 android:orientation="horizontal">                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w130" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w131" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w132" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w133" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w230" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w231" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w232" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w233" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w330" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w331" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w332" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w333" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w430" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w431" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w432" />                  <imageview                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:src="@drawable/w433" />              </linearlayout>          </linearlayout>     </com.example.streamradio.radioone.untouchablehorizontalscrollview> </com.example.streamradio.radioone.untouchablescrollview>  <textview     android:id="@+id/mainradioname"     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:layout_gravity="center"     android:gravity="center"     android:text="@string/welcome_big"     android:textcolor="#ffffff"     android:textsize="@dimen/radio_main_name" />  <linearlayout     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:orientation="vertical">      <linearlayout         android:layout_width="fill_parent"         android:layout_height="0px"         android:layout_weight="450"         android:orientation="vertical">          <imageview             android:id="@+id/loading"             android:layout_width="@dimen/radio_bufferindicator_width"             android:layout_height="61dp"             android:layout_gravity="center_horizontal"             android:src="@drawable/button_uj"             android:visibility="invisible" />      </linearlayout>      <linearlayout         android:layout_width="fill_parent"         android:layout_height="0px"         android:layout_weight="55"         android:orientation="vertical">          <textview             android:id="@+id/mainradiolocation"             android:layout_width="match_parent"             android:layout_height="match_parent"             android:gravity="center_vertical|center_horizontal"             android:text="@string/welcome_small"             android:textcolor="#ffffff"             android:textsize="@dimen/radio_main_from" />     </linearlayout>      <linearlayout         android:layout_width="fill_parent"         android:layout_height="0px"         android:layout_weight="55"         android:alpha="0"         android:orientation="vertical"         android:weightsum="1">      </linearlayout> </linearlayout> 

`

why closing framework tag? have seen examples earlier android layout xmls, , included in code , same goes every tag have closed, go , check proper way close tag or write xml layout android.

you opened tag , closed @ 1 place. see issue in below image enter image description here

but make code work, should cover block of codes inside starting , closing tag.

for example see below code

refer link has example of xml layout. android layout linearlayout , orientation vertical not working


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -