Full Guide to Bottom Sheets - UX With Material3

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 71

  • @ruedigermerz9525
    @ruedigermerz9525 8 หลายเดือนก่อน +1

    Coming from SwiftUI the ModalBottomSheet is absolutely intuitive to me. I actually do the same with Dialog's. I just put them in a "when" block and change the appropriate property to true when they should show.
    Vielen Dank für Deine grossartigen Videos. Weiter so !

    • @Theo-os3zi
      @Theo-os3zi 7 หลายเดือนก่อน

      How is it intuitive? In SwiftUI we have a simple .sheet modifier that does accept the initial value. 🤔
      So far Jetpack Compose is anything but intuitive to me lol

    • @ruedigermerz9525
      @ruedigermerz9525 7 หลายเดือนก่อน

      @@Theo-os3zi oops. Gotta check that out. Thanks for the pointer. As for JC, I couldn’t agree more. ;)

  • @ignaciovela8065
    @ignaciovela8065 9 หลายเดือนก่อน +2

    You deserve more subscribers. Your content is great!

  • @cfa532
    @cfa532 หลายเดือนก่อน

    Amazing. You covered everything I need to know👍

  • @moaliyou
    @moaliyou ปีที่แล้ว +1

    Hey Philipp, I've learned more from your videos and they helped me a lot can you make a video about Full Dialog in jetpack compose?

  • @ThwriktoKavlerwf
    @ThwriktoKavlerwf ปีที่แล้ว +5

    i personaly struggled with the windowInsets to make it look nice for every nav and status bar insets. Notice that in your first example the sheet is behind the nav bars, but in the second it is above, since it is contained in the scaffold.

    • @shyboy2023
      @shyboy2023 9 หลายเดือนก่อน

      were you able to make ModalBottomSheet to not overlap with navigation bar?

  • @imHasanRana
    @imHasanRana ปีที่แล้ว +1

    Hii Philipp, Enjoying this new playlist so far finding it very useful & informative.
    Could you please make a video about updating the Gradle versions that would help a Lot ❤

  • @yahussainmazloom1
    @yahussainmazloom1 9 หลายเดือนก่อน

    Thanks for awesome video,
    I am struggling to get the state of the bottomsheetscaffold when expanded through dragging.

  • @sanchitmonga4942
    @sanchitmonga4942 ปีที่แล้ว

    What’s your IDE theme? Looks super cool and clean ❤

  • @RezaZarchi
    @RezaZarchi 10 หลายเดือนก่อน

    Thanks Philipp for your video about BottomSheetScaffold. I have some problems with BottomSheetScaffold inside of a Scaffold which has floatingActionButton. BottomSheetScaffold has shown under the FAB. I could not find any solution for that.

  • @ivanvega9100
    @ivanvega9100 ปีที่แล้ว

    Hi Philipp, great video! I would like to add that the BottomDrawer composable is my preferred method of implementing it but I know it is not from Material3. I think it the most intuitive one tough

  • @pramodpatil1917
    @pramodpatil1917 ปีที่แล้ว +1

    Hi Philipp, great video,
    Have one doubt, is there any way to avoid overlap with system bottom navigation?

    • @fliamachado
      @fliamachado ปีที่แล้ว

      Please let me know if you find the answer

    • @pramodpatil1917
      @pramodpatil1917 ปีที่แล้ว

      In Activity oncreate
      Add WindowCompt.setDecorFitsSystemWindows(window, false)
      and add parant layout before scaffold
      Box(Modifier.safeDrawingPadding()){
      Your screen
      }

  • @Nrodrigues90
    @Nrodrigues90 3 หลายเดือนก่อน +1

    do you know if it is possible to adjust the bottomsheet to the content?

  • @roubalsehgal
    @roubalsehgal 8 หลายเดือนก่อน

    Hi Philipp,
    How are you managing the system navigation bar Overlapping the Bottom sheet ?

  • @sashaprokipchuk4185
    @sashaprokipchuk4185 ปีที่แล้ว +1

    Great video man! I want to ask one question related to systemBars and windowInsets. On different devices systemNavBars works in different way. I want the systemNavBar to became same color as ModalBottomSheet when expanded, and using WindowInsets for it. But for Android 12 and lower it works strange.... Maybe you know something?

  • @cristicode4301
    @cristicode4301 7 หลายเดือนก่อน

    ModalBottomSheet is placed under the os bottom navigation buttons.

  • @alperenacikgoz751
    @alperenacikgoz751 5 หลายเดือนก่อน

    Hey Philipp how do you move code blocks like this 5:13 what is the shortcut? Nice tutorial btw!

    • @PhilippLackner
      @PhilippLackner  5 หลายเดือนก่อน

      Command + Shift + Up/Down :)

  • @silvahawk
    @silvahawk 3 หลายเดือนก่อน

    I don't like the fact that the regular ModalBottomSheet overlaps with the system navigation bar unlike the BottomSheetScaffold where they're clearly separated, but there seems to be no way to achieve that right now with ModalBottomSheet

  • @tuyulghost291
    @tuyulghost291 ปีที่แล้ว

    hii philipp, please make content about scaffold. thankss

  • @sergeymilewski6607
    @sergeymilewski6607 5 หลายเดือนก่อน

    it save my time, thank you.

  • @sylarEve
    @sylarEve ปีที่แล้ว

    Thanks for the awesome content.I recently struggled with custom modifier layout.
    When I use Row or Box as a parent node and set a specific alignment with it(for example, Box and set content Alignment to Alignment. Center) , then I put a composable with modifier.layout inside it, in the place phase calling placeable.palce(x,y), which seems to use the parent node's alignment as coordinate original point(if Alignment.Center set,Box 's width/2 as 0 in axisX, height/2 as 0 in axisY).I wonder how to ignore the alignment in the parent node when using modifier.layout to custom place a composable?

  • @angaar5705
    @angaar5705 15 วันที่ผ่านมา

    ModalBottomSheet - 00:00
    BottomSheetScaffold - 07:40

  • @bek_groider
    @bek_groider 5 หลายเดือนก่อน

    Hi Philipp, are there any way to navigate to the bottomSheet as we do in screens. So it will have its own viewmodel and state completely separate from the screen. In latest version of type-safe navigation it possible to navigate to a dialog. but bottomSheet 🤔

  • @marlonlom
    @marlonlom ปีที่แล้ว

    What about using bottomsheets with navigation compose ? How to integrate those?

  • @nolualai
    @nolualai ปีที่แล้ว +4

    There is a huge problems with inputs and bottom sheets. The keyboard is drawn behind the sheet which is then impossible to type. Any solution

    • @doobofbattle9472
      @doobofbattle9472 2 หลายเดือนก่อน

      you found a solution to this yet? Wasting my day(s) trying to figure it out lol

  • @dancewithakshara09
    @dancewithakshara09 ปีที่แล้ว +4

    Just use the launched effect with the unit as the key then hide it using the hide method on initial load

  • @coolnext4
    @coolnext4 ปีที่แล้ว

    What will happen if you have bottom component and popup in same screen? e.g. If we need custom keyboard bottom of screen and some custom popup to give information to user those bottom sheet components shouldn't conflict or overlap with custom ones.

  • @thebigbadman04
    @thebigbadman04 ปีที่แล้ว

    Is there a way to make the main content, scrol along with the bottom sheet? So the main content is always on top (vertically) of the bottom sheet?

  • @ALEX54402
    @ALEX54402 ปีที่แล้ว +1

    Just awesome

  • @hashemmousavi2451
    @hashemmousavi2451 ปีที่แล้ว

    What about if you want a modal BottomSheet with PeekHeight?

  • @jonathansantos4155
    @jonathansantos4155 9 หลายเดือนก่อน

    For real, I generally don't comment on any video but once in a while I feel like I have to! This channel is so great that even with my over 10 years of Android Development experience I find myself going to TH-cam and starting my searches with "Philipp Lackner " :D
    How are you not in the "M" subscribers yet? Literally no better Android content on TH-cam!
    Keep up the great work man!

    • @PhilippLackner
      @PhilippLackner  9 หลายเดือนก่อน

      Thank you so much, really happy to help!!

  • @romansemenyshyn6052
    @romansemenyshyn6052 4 หลายเดือนก่อน

    sheetState is useful for "skipPartiallyExpanded = true"

  • @alillolindo
    @alillolindo ปีที่แล้ว

    Do you know how I could add a TabRow at the bottom of the bottomSheet but have it show whenever it is open?

  • @sureshsharma-os6xf
    @sureshsharma-os6xf ปีที่แล้ว +4

    I am just creating a bottomsheet.😂😂😂

  • @chadisfeir3809
    @chadisfeir3809 ปีที่แล้ว

    if i drag down the bottomsheet the top of it still showing under the windows systhem and the dismiss fun is not called, it's only called if back button is pressed

  • @alanesaugarciagutierrez6025
    @alanesaugarciagutierrez6025 5 หลายเดือนก่อน

    Do anyone knows how to avoid ModalBottomSheet overlap navigationBar background?

  • @ShivaPrasad-hm5lk
    @ShivaPrasad-hm5lk ปีที่แล้ว

    I just checked your courses and they are really pricey like 99,00 € is like 8,82,238₹ thats double the anual income of middle class families here 😅
    Initially i thought of buying it but after converting it into rupees i cam back to youtube

    • @PhilippLackner
      @PhilippLackner  ปีที่แล้ว

      It's 99€, not 9900€😅
      I think it's just India where 99,00 means 9900, but nowhere else on this planet

    • @ShivaPrasad-hm5lk
      @ShivaPrasad-hm5lk ปีที่แล้ว

      @@PhilippLackner thanks for clarifying may be I will buy this

    • @yahussainmazloom1
      @yahussainmazloom1 9 หลายเดือนก่อน

      @@PhilippLackner FYI in most of the asian countries amount will be write like 99.00 not 99,00. if you separate the decimal point with comma it means you are just seperating for readability.

    • @PhilippLackner
      @PhilippLackner  9 หลายเดือนก่อน

      @@yahussainmazloom1 it's something I sadly can't control, since it's not on my website but on the payment provider's

  • @rwwwwwss6822
    @rwwwwwss6822 ปีที่แล้ว

    Which theme do you use in Android Studio?

    • @Oswald-41
      @Oswald-41 ปีที่แล้ว

      New Android Studio UI

  • @vitalijuskolinko9011
    @vitalijuskolinko9011 ปีที่แล้ว

    I am writing the comment from bottom sheet )))

  • @shashankdahiya6092
    @shashankdahiya6092 ปีที่แล้ว

    I want to create a top sheet Any idea?

  • @vanshpanchal-u8x
    @vanshpanchal-u8x ปีที่แล้ว

    Installing Jetpack Compose App shows Security Threat in mobile any solution?

  • @托尼盖
    @托尼盖 2 หลายเดือนก่อน

    how to make a top dialog

  • @Prabhs226
    @Prabhs226 5 หลายเดือนก่อน

    Current bottomsheetscaffold in material 3 has no way to get progress. Inwas trying to make a media player ui. The thing I'm trying to do right now was the way the mini player album art resizes and transforms into full player's album art however i have made both players as seprTe composable. CN someone help me with that

  • @عسلایرانی-ه2ض
    @عسلایرانی-ه2ض ปีที่แล้ว

    Can you introduce me a very professional book on Android programming? Please 🙏

  • @suboshk777
    @suboshk777 6 หลายเดือนก่อน

    I cant able to make bottomsheetscaffolf to occupy full screen or like to 70 percent of screen,its fixed .Please help on this

  • @giuliopimenoff
    @giuliopimenoff ปีที่แล้ว +3

    Unfortunately those components are filled with bugs atm xD

  • @alanesaugarciagutierrez6025
    @alanesaugarciagutierrez6025 ปีที่แล้ว

    Does it happen to anyone else that when you close a bottom sheet with a keyboard open, the keyboard stays on the screen for a few milliseconds until the bottom sheet is closed? It doesn't seem like normal behavior since it doesn't do the typical downward animation.

  • @akashsathe6818
    @akashsathe6818 4 หลายเดือนก่อน

    i am trying to collapse the bottomsheet but scaffoldState cant give me a collapse functionality i have try hide() there also not collapsed my bottomsheet

    • @Albe-j8h
      @Albe-j8h 7 วันที่ผ่านมา

      Dum ass

  • @KaroKaro290
    @KaroKaro290 ปีที่แล้ว +1

    I'm switching from flutter to android, should I learn xml nowadays? Compose is much more enjoyable compared to xml, not gonna lie.

    • @KaroKaro290
      @KaroKaro290 ปีที่แล้ว

      Also I see your new videos are only about compose.

    • @JaviDran
      @JaviDran ปีที่แล้ว +1

      Work with Compose straight away. I have been searching for jobs recently and companies are already putting a lot of emphasis on migrating to Compose.
      Nervetheless, is good to know xml a bit if you need to work with legacy code in existing apps.

    • @achmadichzan
      @achmadichzan ปีที่แล้ว

      Could you tell me why you decided to switch from flutter to android native?

    • @KaroKaro290
      @KaroKaro290 ปีที่แล้ว

      @@achmadichzan Every Flutter dev need to know android/ios native skill.

  • @danielsdebastiani
    @danielsdebastiani 5 หลายเดือนก่อน +1

    It's a good video, but it definitely is not a full guide.

  • @Synthwave89
    @Synthwave89 ปีที่แล้ว

    Fun fact: this comment section is a bottom sheet, as is the one for shorts

  • @anmolsinghsahi5612
    @anmolsinghsahi5612 ปีที่แล้ว

    That's not the full guide

  • @wevertonsantiago4305
    @wevertonsantiago4305 ปีที่แล้ว

    thanks