Skip to Content
Android Studio 4.2 Development Essentials - Kotlin Edition
book

Android Studio 4.2 Development Essentials - Kotlin Edition

by Neil Smyth
August 2021
Intermediate to advanced
804 pages
23h 25m
English
Packt Publishing
Content preview from Android Studio 4.2 Development Essentials - Kotlin Edition

30. Managing Constraints using Constraint Sets

Up until this point in the book, all user interface design tasks have been performed using the Android Studio Layout Editor tool, either in text or design mode. An alternative to writing XML resource files or using the Android Studio Layout Editor is to write Kotlin code to directly create, configure and manipulate the view objects that comprise the user interface of an Android activity. Within the context of this chapter, we will explore some of the advantages and disadvantages of writing Kotlin code to create a user interface before describing some of the key concepts such as view properties and the creation and management of layout constraints.

In the next chapter, an example project will be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Studio 4.1 Development Essentials – Kotlin Edition

Android Studio 4.1 Development Essentials – Kotlin Edition

Neil Smyth

Publisher Resources

ISBN: 9781803231549Supplemental Content