Android's updated layout editor tools promise to significantly change the way application developers build user interfaces. At the core of this new paradigm is the ConstraintLayout container. Constraint-based layouts are not new to Android developers, but the flexibility of this new container promises to flatten complex view hierarchies and reduce nesting. In this session, we will examine the layout engine ConstraintLayout uses in order to understand exactly how this new component works. You will see how the new layout tools define constraints, what kinds of constraints are supported, and how ConstraintLayout processes them to position views.
Dave Smith (@devunwired) has been working with the Android platform at all levels since 2009, developing custom applications and system components to run Android on embedded platforms or interact with external embedded devices. He is a Google Developer Expert for Android and IoT and the author of the popular developer cookbook “Android Recipes: A Problem Solution Approach” from Apress. He regularly provides developer tips and sample code on GitHub (http://milehighandroid.com) and his personal blog (http://wiresareobsolete.com).