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.
I was facing the same issue and this is how I resolved it:
Simply click on the corner of the icon of logcat (Android-like icon at the top-left corner) and then drag to where you want to place it.