Graphics layers | Jetpack Compose Tips
HTML-код
- Опубликовано: 17 дек 2024
- In this episode, learn all about Graphics Layers in Compose and how you can use the APIs to composite graphics layers together to create interesting visual effects.
This episode covers how to use BlendModes to blend between two layers, and how to set the saturation of a whole layer.
Learn more → goo.gle/compos...
Watch more Compose Tips for Delightful UI → goo.gle/Compos...
Subscribe to Android Developers → goo.gle/Androi...
#Featured #ComposeTips #JetpackCompose #AndroidDevelopers
Speaker: Rebecca Franks
Products Mentioned: Jetpack Compose, Android Dev
Subscribe to Android Developers → goo.gle/AndroidDevs
You are using blendMode() modifier in 3:56. I can't found it in latest Compose version. It is some additional library?
It's a custom Modifier which was created in the video just a few seconds before your timestamp.
Is there any option to change system bars colors in specific screen or is it possible only in activity? You put more and more videos about tricks in UI layout but there is missing many basic options in compose. Changing dynamically the system bars colors require hacking. Maybe some video how to manage it in easy way?
I think that is because they want to lean developers towards using edge to edge and have the system bars transparent instead of using a predefined color
you can use Accompanist Sus
@@ivanvega9100 but not always transparent is required. And same with navigation bars in older devices. When you set WindowsInsets.navigation bars to have proper padding for content then the padding has different color than content. It's just more complicated now instead of help developers or I need to find better ways to do it
@@ivanvega9100 but there is no option to change system bars colors in specific screen. Not everywhere is need to have it transparent, it depends on design and older android devices has different navigation bars. WindowsInsets.navigationbars makes these bars in different colors. There is need to write extra functions to change these bars colors. I don't understand why It can be normal parameter to set and they just make it more difficult for developers. Before are external libraries could do it in fast way as accompanist library.
there is an easy way, change it to transparent in activity then in each page just add color to the topBar in scaffold then it will adapt with it, only the status icon color need to be set with each page through theme parameter
Thank for sharing👍
Nice 🎉
Awesome
wonderful
Seems cool.
Great love to develop with compose.
But main issue is to publish app in playstore. Learning is not difficult Publishing is difficult.
I request to make it easier with Upi in India or allow any cards.
Can you make a video on how to store mathematical formulas (simple or complex) or text Styling in firestore and then render them while displaying in the app's UI so that it would appear like in the books in jetpack compose?
Use mathjax
Cool
🥰
ฉันกำลังพยามทำความเข้าใจเกี่ยวกับสิ่งนี้