Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style ref
Most of the errors in XML happen due to the names you have given to the resources.
Images stored in the drawable folder need to be named in a proper manner. just check these things:
"image.jpg"
and "image.png"
are not allowed in the same time. It will not show any errors but sometimes it will show that R.java cannot be resolved)file
->refactor
->rename
and rename it with all lowercase, no hyphens, and only a-z and 0-9 are allowed.Just make sure of the above cases.