xml を直接触る。
android.support.constraint.ConstraintLayout
から
RelativeLayout
に変更とか。
ちゃんと閉じタグも変更する。
変えたいLayoutの名前がわからないのでGUIの方から変更したいとき
Design
↓
Component Tree
↓
一番上のLayout(ConstraintLayoutなど)で右クリック
↓
ConvertView
で好きなLayout(RelativeLayout,LinearLayoutなど)を選択すると変更できる。