Moved the map code in the main activity. Added the camera fragment. Resolved the Navigation drawer not showing correctly issue.