From the course: Android Compose with Kotlin
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Implement designs using composables - Kotlin Tutorial
From the course: Android Compose with Kotlin
Implement designs using composables
- [Instructor] Android applications are hierarchical. There's a primary surface or container that holds everything. Then inside of that container are various components that users can interact with. The most standard elements are some type of top navigation, a bottom or side navigation, and finally, your primary content. With view-based layouts, you have a fair amount of flexibility with how you can implement it. One very common way is using a linear layout and then nesting inside of it a coordinator layout along with a bottom navigation view. Then, the coordinator layout is used to house your app bar and the main content, the frame layout being the primary container for your content. Whereas with Compose, there's a more opinionated approach. The primary container is a scaffold. This allows you to quickly assemble your app structure according to material design guidelines. Then, the scaffold composable has parameters for the other layout items you may need. Let's take a look over in…
Contents
-
-
-
Kotlin for Jetpack Compose3m 23s
-
Define screens with activities and composables2m 55s
-
(Locked)
Implement designs using composables3m 48s
-
(Locked)
Display UI elements with Column, Row, and Box4m 35s
-
(Locked)
Units of measurement with Compose2m 42s
-
(Locked)
Use modifiers to customize your layout5m 50s
-
(Locked)
Challenge: Bye-bye ConstraintLayout57s
-
(Locked)
Solution: Bye-bye ConstraintLayout2m 53s
-
-
-
-
-
-
-
-
-