While using Android Studio just now I was editing an XML file in the editor and I got this error in the Preview and Design windows:

```
 Exception raised during rendering: Unable to find the layout for Action Bar.

```

I've tried restarting Android Studio, my Laptop and Googling for the answer but I can't find anything. Has anybody experienced anything similar?