Can anyone help how to resolve the preview issue for XML layout file?
CodePudding user response:
Delete the .idea folder and restart Invalidate caches / Restart Android Studio.
CodePudding user response:
Solution # 1
If you are using any Custom-View/Component-View, you must need to set a theme to that view.
Solution # 2
You need to fix these xml errors (maybe alt enter
help to fix them)