I find it quite annoying to have the main menu in the preview of my app in the IDE Android Studio
This does not leave a quiet layout without having to erase it and put it back in order to see the back elements
Remove the tools:openDrawer="start"
attribute in the <DrawerLayout>
element to hide the drawer:
<android.support.v4.widget.DrawerLayout android:id="@+id/drawer"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:openDrawer="start" <------ELIMINA EL ATRIBUTO PARA QUE SE OCULTE DEL DESIGNER
>