Basic layouts in Compose

preview_player
Показать описание
Learn how to implement a realistic and complex UI using Compose Layouts. Use out-of-the-box composables and modifiers to transform designs into Compose code. Discover how to implement a screen from MySoothe, a sample relaxation app. Learn to write the code for each of the screen's separate elements, and then combine those into the complete screen.

Resources:

Speakers: Jolanda Verhoef, Simona Stojanovic

Watch more:

#GoogleIO #Featured #JetpackCompose #AndroidDevelopers
Рекомендации по теме
Комментарии
Автор

That is an excellent video! I have a note for other developers. In the HomeScreen where she added a Spacer() instead of padding to solve the issue of contents being clipped when scrolling. Actually, there is another way to do it as well by just doing this:
modifier = modifier
.verticalScroll(state = rememberScrollState())
.padding(vertical = 16.dp)

Modifiers' order matters so when we first add the verticalScroll, this will cause the scroll to be applied before the padding and will not clip the children.

I love compose so much because of this feature as it gives us endless capabilities.

Thank you both, Simona and Jolanda!

AbdulelahAGR
Автор

Learned more in this video than a full day reading the documentation, amazing presentation.

GuilhermeHolz
Автор

I hope to keep this kind of workshops with every new API, way better than the docs 👌

yasserakbbach
Автор

This tutorial was damn good with a very good explanation. Google has tons of videos for android but this tutorial is by far the best by a huge margin. Great work from Jolanda and Simona 👏👏

Google please make more such long videos and don't fast forward things like you do in other videos, please make more videos like this one.

Again a big shout out to both the developers who explained everything so clearly. Thanks a bunch, hoping to see more such videos from you two.

dineshk
Автор

This is the most precise workshop video I have ever seen about compose 👌🏾really great work

liltofer
Автор

Amazing Learing Guide for developers, From Jolenda and Simona. You guys should make more videos like Paging in Compose, Animations, DrawerLayout : )

farhazulislam
Автор

Amazing video! Learned a lot of basics and neat tricks in this video. Love it, as I was able to finish the entire codelab faster than I had anticipated. Thank you, Simona and Jolanda. Love the video!

nishanthnagella
Автор

For me, this "rubber meets the road" presentation (sorry for the idiom 🤪) captures the essence of the development process. For the first time I am starting to believe that a declarative tool set can be used to capture strict design requirements. Well done.

waynesmith
Автор

excellent showcase! thank you for the knowledge! these seem to be some frequently used concepts for the UI, this really helps

SapphireStudioart
Автор

Thank you for the Compose presentation and CodeLab, learnt a lot.

MrMoggz
Автор

Thanks for the video! What about updating preview "on fly"? Or we need tap "refresh"/hotKey every time?

FreedivingTrainer
Автор

Awesome tutorial! Thank you very much! Really more contents like these are needed

Sauletekis
Автор

Great tutorial, thanks. For me, the final preview of MySootheApp had huge fonts because I followed your video directly, but I fixed it by wrapping the Scaffold in a MaterialTheme (per step 12 of the written tutorial).

marcfearby
Автор

This really helped me to get a grasp on what should I use to build UIs with Compose, especially the workflow to start with the simplest possible components and then just arrange them together.

But I have one question:
I didn't really understand the use of the modifier parameter. When modifiying child elements you often used a new Modifier object instead of the one passed in the parameter list.
What is the reasoning behind using one or the other?

TheRastaDan
Автор

Amazing Video, I personally was kind of reluctant to learn about compose since I got most of my experience from an Angular and Android's "classic" XML Layouts and Compose looked quite alien for me. But now I get the jist of it, a Composable doesn't seem all that different from an Angular component.

I will definitly continue my learning compose journey, hope the videos about state management and animations are just as good.

This whole UI Framework also shows how big of a move it was to integrate Kotlin into the Android development scene. Something like this would just not fly at all with Java.

floppa
Автор

Thank you so much. I learnt alot in this video and I've got a question. Please how can I change the background color from the brown which is the default for the codelab we implemented to a different color. Thank you.

OgechukwuEleodimuo
Автор

This video rocks!!!! I've been thinking about using Jetpack Compose and this video was a nice intro. I'll definitely be playing around with this over the weekend.

rwxyz
Автор

This was a really good style of video! I see far too many that are overly scripted and too wooden and unnatural which makes it hard for me to keep mentally tuned-in. If only more programming tutorials were this good!

andrewdunbar
Автор

Learned more in this video than I hope if you could do more videos like this adding navigation and click listener to chilled >>>> thaaanks

digitalluxury
Автор

Very useful! Layouts it's most important theme to create super cool Apps! Thanks a lot!

avdim