How to switch from the default ConstraintLayout to RelativeLayout in Android Studio

前端 未结 16 1094
遥遥无期
遥遥无期 2020-12-02 07:49

I have the latest android Studio (2.3 beta 3) and it seems ConstraintLayout is the default when creating a project. How can I make Android Studio use the RelativeLayout as t

16条回答
  •  抹茶落季
    2020-12-02 08:38

    None of these solutions worked for me...seemingly until I stumbled across this setting, see image. File > Settings > Editor > Layout Editor > Check "Prefer XML Editor"

    https://i.stack.imgur.com/9CHe7.png

提交回复
热议问题