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

前端 未结 16 1112
遥遥无期
遥遥无期 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:22

    Android 3.0

    In activity_main.xml

    Replace in this tag i.e

    android.support.constraint.ConstraintLayout

    with

    RelativeLayout

提交回复
热议问题