Home > other >  Android XML layout preview not working in Android Studio Dolphin 2021.3.1 Patch 1
Android XML layout preview not working in Android Studio Dolphin 2021.3.1 Patch 1

Time:12-19

Can anyone help how to resolve the preview issue for XML layout file?

enter image description hereenter image description here

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)

  • Related