Custom layouts and graphics in Compose
Vložit
- čas přidán 1. 06. 2024
- Jetpack Compose offers a variety of out-of-the-box solutions to quickly and easily build screens from scratch. But what happens when you need to go a step beyond and go fully custom? Learn how to create complex designs using a powerful combination of custom Compose Layouts and Graphics. We will cover things like laying out a custom graph, Compose drawing operations, and animations through a more hands on approach by building an intricate Sleep Tracker sample app in just 20 minutes.
Resources:
Compose Jetlagged → goo.gle/compose-jetlagged
Custom layouts → goo.gle/compose-custom-layouts
Images and graphics in Compose → goo.gle/compose-graphics-docs
Speaker: Simona Stojanovic
Watch more:
Watch all the Android Dev Summit sessions → goo.gle/ADS-All
Watch all the Modern Android Development sessions → goo.gle/ADS-MAD
Subscribe to Android Developers → goo.gle/AndroidDevs
#Featured #AndroidDevSummit #JetpackCompose - Věda a technologie
Really good talk, if only all Android talks were like this, direct and straight to the point, informative and powerful. No "agenda" like "you can remove Fragments with Navigation-Compose" despite providing 12% of the feature set, or something.
Thank you for this video, very useful! Personally I am glad to see advanced topics covered in-depth about Compose and not only the introduction and beginner guide videos (which are also useful obviously). Would also appriciate a detailed video about Compose effects with real world scenarios.
This is a personal view but feel like this is one of the areas where compose's function-centric way of building layouts shines. I like how building custom layouts feels a bit more systematic and less like you are trying to hack your way into making something look and act the way you want it too. Thank you for the presentation and excited for future development on this.
We are thrilled to hear that you are enjoying this feature! We truly love hearing from the community. We appreciate you, Chisomo 🙌
@@AndroidDevelopers and we Appreciate YOU ALL
Thank you very much! More in-depth videos like this, please!
Very impressed! Just few lines of code can make this magic!
Really a delightful presentation. A non-trivial app development with great explanation along the way!
Well presented! Thank you! Really in-depth presentations rolled out last couple of days 🥰🤖
If you loved this video and want to see more from Android and Simona, take a look and give us a follow via the blog links below 😄
Android on Medium → goo.gle/3NCyjec
More from Simona on Medium → goo.gle/3NtlNh1
@@AndroidDevelopers Thanks!
Thank you for this perfect presentation. 💚
Thanks, Mahmoud! It's our pleasure to help you customize your creations 🎨
If you're interested in learning more on the subject, be sure to scope out these resources:
Custom layouts → goo.gle/compose-custom-layouts
Images and graphics in Compose → goo.gle/compose-graphics-docs
I love how they turn such complicated things (for me) into simple explanation
Very cool and helpful example, thanks
Thanks Dominik 😎
We're happy to help you get the most out of your customization experience ⚒️
Completely Rich & Informative Video
We are happy to hear that the video was helpful, Nipun! Check out more about Jetpack Compose via this link: goo.gle/3n9Cnqf
What an impeccable presentation! Very coherent and engaging
The Dev Summit was a series of awesome presentations!
Make sure you check out our other Dev Summit sessions here: goo.gle/ADS-All
Thanks Simona, much appreciated for this stuff, it's really a good example )
Wow! awesome!!! helpful tips.
We have a ton of helpful tips here on CZcams for you!
We recommend jumping over to our MAD skills series to check them out: goo.gle/3hLX8sg
Could not you make it even harder? :D Thanks for the presentation
😄 Sometimes they make me to think like you
Any existing bug bounty program? Last line of code at 09:51 should be 'sleepBarPlaceable.height' instead of 'barPlaceable.height'. I have looked into the source code at github and it appears fine though.
can you please say, how to create that kind of presentation with animation and code appearance? This isn't just a screenshot of AS night mode, right?
Thanks
What's the online shader tool that she talks about?
Why do you repeat creating a paint object for each composable? I remember that in the old view canvas you only created one paint object. Seem like the layout and drawing command are all in the same file!
"In just 20 mins" ^^ Right of course
14:32 Fourth line has a bug. The parameter should be "isExpanded" and not "expanded".
do we need to send the same modifier object to all the compose functions. In other words should all the children must use the modifier of the parent
What is the advantage of using custom layouts? This layout could have been achieved by using simple columns and rows.
I have the same doubt
It works for most of the common scenarios. However, they don't handle the alignment wells in some edge cases. Then you could do some simple maths in the custom layout with your own logic to control where to place all of the children elements.
Sarana hiburan komplit berada di Android, seberapa jauh pengetahuan yang dimiliki bisa diukur dikedalamannya, memori yang terpendam kilas balik bisa diungkap dan dinikmati lagi kenangan lama biasanya sangat kental diingat
YAY
😍🎊👌⚡
Great talk. Lots of dense content ... So we need to send you some money as we are now using this in our sleep tacking App ...
I've said that, time and time again. Android Team, CREATE A 1st PARTY CHART LIB
what about a tutorial drawImageBitMap
Amazing video.. But this is very hard to follow and implement.
Not going to lie the completed app screen itself is hard to interpret for me
Only Google Engineers would be able to understand such complexity. Yikes!
I'm loving compose but I'm just so bad at Ui😂
Is it me or the code for laying out components seem a bit verbose or boilerplate-y?
what do you mean?
@@ErnieZee For context, I use Contour (from CashApp) quite extensively. Achieving the same results in terms of layout would be much more concise in my opinion.
@@brunokongawi7555 what do you mean by more concise like give me a concrete explanation what exact lines you consider too verbose in this video.
What's with the emojis on top of the presentation? Looks like a facebook message group haha
Teluduri sejarah peradaban manusia dari jaman serba tradisional sampai saat sekarang modernisasi disegala bidang
Hmmm, why you guys used Apple emojis? 🤔 (Idk why I paid attention to then) XD
Those are not Apple emojis.
@ emerald card
Kinda too easy
Beta tester od roku 2016 oceňujem,,