May be you could just drag those apart-positioned window in android studio form and connect/drop to some edge of inner side in it?