I have been using Android Studio quite a lot in recent weeks, and after a short break I decided to start a new project. Before this point, everything was working fine.
My issue is that the preview is not displayed in text or design. If I run an emulator, my project can be seen.
This is a brand new project, I have yet to type a single line of code.
I have uninstalled android studio and reinstalled it, I have rebuilt the project, I have cleaned the project, I have created new projects, I have installed every SDK available to me, I have invalidated caches/restarted.
I've tried multiple themes. I've tried multiple android versions. I've tried multiple devices.
Can someone please tell me how to fix this?
EDIT
Problem has been fixed by deleting this line of code:
"tools:shownIn="@layout/activity_main"
I have never seen this in a project before... Can anyone shed some light onto why this happened?