0

I have got this error on my code but cant workout why, I have tried to solve the issue by searching for an answer on google but haven't come across anything that solves this, the error is showing at

3
  • 1
    Where exactly it is showing the error? Which line? Commented Feb 6, 2013 at 23:27
  • 1
    Where is your closing </RelativeLayout>? Commented Feb 6, 2013 at 23:30
  • the error is showing at <Button....the closing </RelativeLayout> is there just missed while copying the code over Commented Feb 7, 2013 at 9:20

1 Answer 1

0

Remove the slash at the end of the initial <RelativeLayout.../> and add </RelativeLayout> at the end of the document. Tags like this: <foo/> are empty.

Sign up to request clarification or add additional context in comments.

1 Comment

ive tried this it didnt work, the error says parsing XML: junk after document element

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.