Getting Started with ConstraintLayout

Android Developers now have the option of using ConstraintLayout for all XML layouts. These replace RelativeLayout and LinearLayout. ConstraintLayout is much more complex, and has many features previous not available. Let's start by creating a project.

Enter any Application Name, Company domain, and check Include Kotlin support.

Choose API 21: Android 5.0 (Lollipop) from the minimum SDK screen. All other checkboxes are unselected.

Choose Basic Activity and click Next.

Click Finish.