While fiddling with the layout in Android Studio I somehow turned my logcat window into a floating window. I cannot for the life of me restore it to docked mode.
Right click on Android Monitor tab, select pinned mode and docked mode. Unselect other modes. My runner.layout.xml file was showing window value 0, so i tried this method it solved my problem.