It happens from time to time in Android Studio 3. This are steps to try to resolve this issue:
- invalidate cache and restart studio;
- choose different emulator from drop-down menu;
- refresh layout by clicking on eye icon at the top of layout designer view.
我是在“Device for Preview”页面切换了其它设备就可以了