Use the Download Materials button at the top or bottom of this tutorial to download the starter project. Raze Galactic - An Intergalactic Travel Serviceĭuring this tutorial, you’ll build an interface for an intergalactic travel app which lets users book trips between planets, plan weekend space station getaways and make moon rover reservations to get around when they reach their destination. To catch up on ConstraintLayout, check out ConstraintLayout Tutorial for Android: Getting Started If you know Android but are unfamiliar with Kotlin, take a look at Kotlin For Android: An Introduction. If you’re new to Android, check out our Beginning Android tutorial.
Note: This tutorial assumes you are familiar with the basics of Android, Kotlin and ConstraintLayout. Dynamically position UI elements onscreen in relation to other elements.Convert from other types of layouts to ConstraintLayout.In this tutorial, you’ll learn to use a multitude of ConstraintLayout‘s features by building an app for a space travel agency. This allows you to create large, complex, dynamic and responsive views in a flat hierarchy. You can constrain them to their container, to each other or to guidelines. ConstraintLayout is a layout on Android that gives you adaptable and flexible ways to create views for your apps.ĬonstraintLayout, which is now the default layout in Android Studio, gives you many ways to place objects.