Full Guide to Bottom Sheets - UX With Material3

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 71

  • @ruedigermerz9525
    @ruedigermerz9525 9 місяців тому +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 8 місяців тому

      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 8 місяців тому

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

  • @ignaciovela8065
    @ignaciovela8065 10 місяців тому +2

    You deserve more subscribers. Your content is great!

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

  • @Nrodrigues90
    @Nrodrigues90 4 місяці тому +2

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

  • @cfa532
    @cfa532 2 місяці тому

    Amazing. You covered everything I need to know👍

  • @yahussainmazloom1
    @yahussainmazloom1 10 місяців тому

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

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

  • @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 8 місяців тому

    ModalBottomSheet is placed under the os bottom navigation buttons.

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

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

  • @angaar5705
    @angaar5705 Місяць тому

    ModalBottomSheet - 00:00
    BottomSheetScaffold - 07:40

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

  • @dancewithakshara09
    @dancewithakshara09 Рік тому +4

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

  • @roubalsehgal
    @roubalsehgal 9 місяців тому

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

  • @sergeymilewski6607
    @sergeymilewski6607 5 місяців тому

    it save my time, thank you.

  • @alperenacikgoz751
    @alperenacikgoz751 6 місяців тому +1

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

  • @tuyulghost291
    @tuyulghost291 Рік тому

    hii philipp, please make content about scaffold. thankss

  • @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 3 місяці тому

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

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

  • @sanchitmonga4942
    @sanchitmonga4942 Рік тому

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

  • @marlonlom
    @marlonlom Рік тому

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

  • @bek_groider
    @bek_groider 6 місяців тому

    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 🤔

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

  • @hashemmousavi2451
    @hashemmousavi2451 Рік тому

    What about if you want a modal BottomSheet with PeekHeight?

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

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

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

  • @ALEX54402
    @ALEX54402 Рік тому +1

    Just awesome

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

  • @alanesaugarciagutierrez6025
    @alanesaugarciagutierrez6025 5 місяців тому

    Do anyone knows how to avoid ModalBottomSheet overlap navigationBar background?

  • @托尼盖
    @托尼盖 3 місяці тому

    how to make a top dialog

  • @shashankdahiya6092
    @shashankdahiya6092 Рік тому

    I want to create a top sheet Any idea?

  • @rwwwwwss6822
    @rwwwwwss6822 Рік тому

    Which theme do you use in Android Studio?

  • @romansemenyshyn6052
    @romansemenyshyn6052 5 місяців тому

    sheetState is useful for "skipPartiallyExpanded = true"

  • @Prabhs226
    @Prabhs226 6 місяців тому

    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

  • @suboshk777
    @suboshk777 7 місяців тому

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

  • @vanshpanchal-u8x
    @vanshpanchal-u8x Рік тому

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

  • @sureshsharma-os6xf
    @sureshsharma-os6xf Рік тому +4

    I am just creating a bottomsheet.😂😂😂

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

  • @عسلایرانی-ه2ض
    @عسلایرانی-ه2ض Рік тому

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

  • @vitalijuskolinko9011
    @vitalijuskolinko9011 Рік тому

    I am writing the comment from bottom sheet )))

  • @akashsathe6818
    @akashsathe6818 5 місяців тому

    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

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

  • @jonathansantos4155
    @jonathansantos4155 10 місяців тому

    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 UA-cam and starting my searches with "Philipp Lackner " :D
    How are you not in the "M" subscribers yet? Literally no better Android content on UA-cam!
    Keep up the great work man!

    • @PhilippLackner
      @PhilippLackner  10 місяців тому

      Thank you so much, really happy to help!!

  • @giuliopimenoff
    @giuliopimenoff Рік тому +3

    Unfortunately those components are filled with bugs atm xD

  • @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 10 місяців тому

      @@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  10 місяців тому

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

  • @danielsdebastiani
    @danielsdebastiani 6 місяців тому +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