Android Bottom Sheet Dialog || Android Studio Tutorial | Bottom Sheet Dialog

preview_player
Показать описание
#larntech #BottomSheet #BottomSheetDialog
Android Bottom Sheet Dialog Fragment is what we are going to learn and implement in this tutorial.

For additional help/customization and tasks reach me via.

Android bottom sheet is a view that slides from the bottom of a screen to show extra content.

In this tutorial, our bottom sheet will display an EditText and a button.

When the button in the bottom sheet is clicked we are going to open new activity and display the name provided in the edit text.

Steps:
1. Adding button in our main activity that opens bottom sheet dialog
2. Adding java class that implements BottomSheetDialogFragment
3. Listening to the bottom sheet button on click to open new activity.
4. Displaying the entered name in the new activity

Thanks for watching if you are not subscribed. Kindly subscribe for more tutorials.

Рекомендации по теме
Комментарии
Автор

Thanks for watching
Subscribe for more tutorials
For any clarification or question feel free to comment below.

larntech
Автор

Hello, thanks for this great tutorial. I have a question. I have one button & one textview inside bottom sheet. How do we change/set text of that textview on button click

umarfaruque
Автор

Congrats and thanks for the video tut..! In my case I have the button that opens the bottom sheet in a fragment..! I manage to show the bottom sheet.. But for a reason I dont really get now, I cant make the textviews functional in the bottom sheet.. Is the process different, cause I am inside a fragment? How should I deal with that issue? I have a main acitvity... with a bottom nav menu with 3 menu items! These 3 menu items are fragments.. and I want to deal with the bottom sheet dialog fragment inside one of the fragments!!!!

thaliaamargianou
Автор

Why you put the photo of the curved edges and you make very simple and easy one?

ehsanalrawi
Автор

As BottomSheet opens in half, and just close a button in so modal. Do not close at other smartphone display sites.

leolima
visit shbcf.ru