Questions tagged [bottomsheetdialogfragment]
73 questions
0
votes
3 answers
Can't get BottomSheetDialogFragment expanded to top of the screen when opened
I can't get my bottom shee dialog fragment expanded to top of the screen. It is always like 60% of the screen or less if I set layout_height (for test) on some lower value. I have tried set it on 600, 700, 800 (currently 900dp) and it is still no…

raaf1981
- 3
- 1
0
votes
0 answers
ModalBottomSheet. Dragging by the specific view
I want Dragging to turn on only by dragHandle element. in all other cases, it should be turned…

Jack The Healer
- 116
- 10
0
votes
0 answers
Scroll not working inside bottom sheet fragment. How can i fix it?
Good afternoon I have a BottomSheetFragment which contains a ViewPager2 with multiple fragments inside.
The ViewPager has horizontal scrolling between fragments, but content scrolling within each fragment DOES NOT WORK.
layout…
0
votes
0 answers
BottomSheetDialogFragment Open at specific height java
I am having a BottomSheetDialogFragment with the code below
public class ClientDetailsModalBSheet extends BottomSheetDialogFragment {
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup…

Emmanuel Njorodongo
- 1,004
- 17
- 35
0
votes
0 answers
I want to click on a button that is under (behind) the BottomSheetDialogFragment. Is it possible to do this?
I want to click on a button that is under (behind) the BottomSheetDialogFragment. Is it possible to do this? (see diagram)
I am also interested in the question, is it possible for the BottomSheetDialogFragment to collapse not completely but half…

Liker Of Programming
- 5
- 1
- 2
0
votes
1 answer
Android BottomSheetDialogFragment data changes the data in parent Fragment
Problem Statement
I have a problem of data being changed in fragment whenever the data is modified in the BottomSheetDialogFragment
App Description
In my app I have the MainActivity which host 2 Fragment in it's ViewPager. 1st Fragment for app…

Abhinandan Chakraborty
- 861
- 2
- 15
- 23
0
votes
2 answers
Show BottomSheetDialogFragment when Click BottomNavigationView
I am new to Android Development. I like to show Bottom Sheet Dialog Fragment when I click one of the menu buttons at the Bottom Navigation View. When I click the favorite button on the languages, it shows empty for the bottom sheet dialog. Is…

Spidey
- 397
- 5
- 19
0
votes
0 answers
BottomsheetDialogfragment romve the recyclerView item after dismiss
this is my first question here so please ignore my mistake. my question is about bottom sheet fragment dialog.
I am trying to show bottom sheet dialog on button click when bottom sheet dialog appear its show list of different companies name. I have…

naveed hanif
- 11
- 2
0
votes
0 answers
App crashes on theme changed when bottom sheet is opened
I have a bottom sheet which I inflate to display a restaurant product detailed information.
class ProductItemInfo(private val product: Product) : BottomSheetDialogFragment() {
private var _binding: DialogProductInfoBinding? = null
private…

Ankit Verma
- 496
- 5
- 21
0
votes
1 answer
Android Bottom Sheet is not working in Fragment
I have added the bottom sheet dialog on a fragment.
Right now I can't open it.
Whenever I click on the show button it doesn't work at all.
How can I fix this problem?
CreateFragment.kt
class CreateFragment : Fragment() {
lateinit var binding:…

Tanjil Sarwar Lazim
- 29
- 1
- 4
0
votes
1 answer
Custom DialogFragment (extends BottomSheetDialogFragment), java.lang.IllegalStateException: Fragment already added
I have a Custom DialogFragment, got java.lang.IllegalStateException: Fragment already added. First I got the same crash when I click on the button quickly to show the DialogFragment. Then I override show() , remove the fragment before show.it seems…

mywjyw
- 1
0
votes
1 answer
How to apply screen resize in BottomSheetDialogFragment?
First, I will show you the BottomSheetDialogFragment class.
class BottomSheetReportFragment(var mContext: Context, var postId: String, var commentId: String?, var replyId: String?) : BottomSheetDialogFragment() {
private lateinit var mView:…

hanjiman
- 465
- 1
- 6
- 17
0
votes
1 answer
Confirm before dismissing DialogFragment in Android
I have defined a method for my DialogFragment which will pop another (alert) dialog, where I confirm that the user wants to dismiss the DialogFragment. If that is the case, then I call DialogFragment.dismiss(). If not, the dismissal of the…

Anchith Acharya
- 369
- 1
- 4
- 16
0
votes
1 answer
Android BottomSheetDialogFragment popped to TOP after view setVisibility(View.GONE)
I put a layout on the BottomSheetDialogFragment. In the layout, 3 widgets visible apper alternately.
So one widget setVisibilty(View.VISIBLE), others setVisibility(View.GONE).
But when widgets setVisibility(View.GONE), BottomSheetDialogFragment will…

Barr
- 44
- 3
0
votes
1 answer
how to open bottom sheet fragment while sliding from bottom to top android like snapchat stories
I want to implement something like snapchat preview of the stories .
while user sliding from bottom to top the fragment start to open and loading some content .
I am using navigation component and BottomSheetDialogFragment .
for now in my main…

tarek al-assah
- 3
- 3