Skip to Content
Android Studio 4.0 Development Essentials - Java Edition
book

Android Studio 4.0 Development Essentials - Java Edition

by Neil Smyth
September 2020
Intermediate to advanced
795 pages
22h 39m
English
Packt Publishing
Content preview from Android Studio 4.0 Development Essentials - Java Edition

23. 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 Java 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 Java 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 created ...

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 3.6 Development Essentials - Java Edition

Android Studio 3.6 Development Essentials - Java Edition

Neil Smyth

Publisher Resources

ISBN: 9781800562660