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

Комментарии • 20

  • @AndroidDevelopers
    @AndroidDevelopers  Месяц назад +9

    Subscribe to Android Developers → goo.gle/AndroidDevs

  • @ATomCzech
    @ATomCzech Месяц назад +3

    You are using blendMode() modifier in 3:56. I can't found it in latest Compose version. It is some additional library?

    • @NohusBluxome
      @NohusBluxome 25 дней назад +1

      It's a custom Modifier which was created in the video just a few seconds before your timestamp.

  • @wilkq1110
    @wilkq1110 Месяц назад +3

    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?

    • @ivanvega9100
      @ivanvega9100 Месяц назад +1

      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

    • @prithvirajdesigner2758
      @prithvirajdesigner2758 Месяц назад

      you can use Accompanist Sus

    • @wilkq1110
      @wilkq1110 Месяц назад

      @@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

    • @wilkq1110
      @wilkq1110 Месяц назад

      @@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.

    • @حسابيوتيوب-د3س
      @حسابيوتيوب-د3س 3 дня назад +2

      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

  • @mohamedkarim-p7j
    @mohamedkarim-p7j Месяц назад +3

    Thank for sharing👍

  • @kushal7966
    @kushal7966 Месяц назад +2

    Nice 🎉

  • @iZakirSheikh
    @iZakirSheikh Месяц назад +2

    Awesome

  • @LifeLessonsLearned8587
    @LifeLessonsLearned8587 Месяц назад +1

    wonderful

  • @John-ub3su
    @John-ub3su Месяц назад

    Seems cool.

  • @prithvirajdesigner2758
    @prithvirajdesigner2758 Месяц назад +2

    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.

  • @roshanmahato3618
    @roshanmahato3618 Месяц назад

    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?

  • @heshansandeepa9471
    @heshansandeepa9471 27 дней назад

    Cool

  • @playmix5
    @playmix5 27 дней назад

    ฉันกำลังพยามทำความเข้าใจเกี่ยวกับสิ่งนี้