31. An Android ConstraintSet Tutorial
The previous chapter introduced the basic concepts of creating and modifying user interface layouts in Kotlin code using the ConstraintLayout and ConstraintSet classes. This chapter will take these concepts and put them into practice through the creation of an example layout created entirely in Kotlin code and without using the Android Studio Layout Editor tool.
31.1 Creating the Example Project in Android Studio
Launch Android Studio and select the Start a new Android Studio project option from the quick start menu in the welcome screen and, within the resulting new project dialog, choose the Empty Activity template before clicking on the Next button.
Enter KotlinLayout into the Name field and specify ...
Get Android Studio 4.0 Development Essentials - Kotlin Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.