I've got Android Studio version 3.5, for some of the XML files there are multiple problems. No matter if I create layout file, or drawable file, preview is not working, and Android Studio is not suggesting attributes.
I've tried Rebuilding / Invalidate Cashes and Restart / changing style.xml
/ even reinstalling Android Studio, nothing works. After I right click layout directory and create new Layout file IDE looks like this:
As you can see, it does not suggest id
attribute and on the right, there are no emulators it could use for showing preview.
Do you have any suggestions what could be wrong? This is not the case for all of the XML files. Some of them, created earlier by my coworkers work fine. The problem is only with those I've created myself.