У вашего броузера проблема в совместимости с HTML5
In this tutorial we will learn, how to create a persistent bottom sheet, which we can drag up and down to show and hide its content. For the sheet we will use a NestedScrollView and set it's layout_behavior to "BottomSheetBehavior" to tell the system that we want to use this NestedScrollView as our bottom sheet. We will also define a peekHeight and set hideable to true, so we can completely swipe it off the screen.
In Java code we will then also collapse and expand it programmatically (on button click) by calling setState on our BottomSheetBehavior and passing a state constant to it. Also we will listen for state changes on our bottom sheet by setting a BottomSheetCallback to it and react to STATE_COLLAPSED, STATE_DRAGGING, STATE_EXPANDED, STATE_HIDDEN, STATE_SETTLING and onSlide.
Check out the MODAL bottom sheet video:
https://www.youtube.com/watch?v=IfpRL2K1hJk
Source code + dependency:
https://codinginflow.com/tutorials/android/persistent-bottom-sheet
____________________
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflow?sub_confirmation=1
⏯ Watch more tutorials:
https://www.youtube.com/c/codinginflow/playlists
⭐ Become a channel member for exclusive tutorials and other perks:
https://www.youtube.com/channel/UC_Fh8kvtkVPkeihBs42jGcA/join
㊙ Help translating the videos:
http://www.youtube.com/timedtext_cs_panel?c=UC_Fh8kvtkVPkeihBs42jGcA&tab=2
? Support the content:
https://codinginflow.com/support-the-content
? Join the Discord chat:
https://discord.gg/TSnMvmc
? Audiobooks and podcasts for programmers:
https://codinginflow.com/audiobooks-podcasts-programmer
? How to get started with Android development:
https://codinginflow.com/learn-android-development-complete-beginner
? Follow Coding in Flow on social media:
Facebook:
https://www.facebook.com/codinginflow
Instagram:
https://www.instagram.com/codinginflow
Twitter:
https://twitter.com/codinginflow
Blog:
https://codinginflow.com