Questions tagged [android-bottomsheetdialog]
205 questions
0
votes
0 answers
How to do custom message box in android jetpack compose?
I want to show a message box at the bottom of the screen there will be an image on the left of the message box and a message on the right as fillmaxwidth size if a success response is returned from the service. However, I couldn't think of any…

NewPartizal
- 604
- 4
- 18
0
votes
0 answers
BottomsheetDialogFragment: Layout is half-way expanded by default
I'm implementing BottomSheetDialogFragment to my app, but sometimes as I open BottomSheet, it will get stuck inbetween bottom edge of visible display. I even checked LayoutInspector and half of the dialog view is below visible display.
I even added…

martin1337
- 2,384
- 6
- 38
- 85
0
votes
1 answer
ClickListener on ViewPager2 with RecyclerView not responding to clicks
I have a ViewPager2 with three pages, two of which hold RecyclerViews. This ViewPager2 is held within a Fragment. When I set a click listener on the view pager before adding RecyclerViews, it worked, but afterwards neither of the two pages will…

alexllanas
- 1
- 1
0
votes
1 answer
How can I make a bottom bar with a fab button in the center of the bottom bar in kotlin compose?
I'm currently making a bottom bar, I think I've done everything right but it's not working properly. the background is completely black and the fab button appears in the center of the screen and the other buttons are not visible. What could be the…

NewPartizal
- 604
- 4
- 18
0
votes
0 answers
Adding Bottom Sheet in Recycler view onclick listener
I have a Recyclerview and some items in it like imageviews and textviews.
I need to open a bottom sheet using model class, when I click the imageview in the recyclerview.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.app.storeeval, PID:…
0
votes
0 answers
listening to button click in an adapter from another adapter in android
in my recyclerview adapter I have a bottomsheet in that bottomsheet I have another recyclerview. In the inner recyclerview i have a button.
if I click that button I have to update the text in the bottomsheet which is in the other recyclerview…
0
votes
0 answers
Bottom Sheet Dialog only showing one item of recyclerview
I realise this question has been asked previously but the answers provided haven't helped me out. I cannot see what is going wrong here.
I have an activity, in which I display a bottom sheet, the bottom sheet has a title and a recyclerview. The…

DJ-DOO
- 4,545
- 15
- 58
- 98
0
votes
0 answers
Architecture for creating an android compound view (entity) with its own viewmodel and api calls and triggers
I have a task to create a bottomSheetDialogFragment which allows the user to rate a specific subject.
Now this view , this bottom sheet needs to be shown at diffrent situations like subjects , courses , exams etc.
And the rating questions which…

Saneen K P
- 303
- 1
- 8
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
1 answer
Highlight selected button in a group in android
I have constructed a BottomSheetDialog with a couple of buttons in it.
Once the user clicked on a button I want to highlight that button next time the dialog opens such that the user knows what their selected last.
I mean one of the button has to be…

DeKekem
- 589
- 10
- 20
0
votes
0 answers
Contents are not showing on bottom Full screen bottom sheet dialog
I used a bottom sheet dialog in my application I wanted it to be full screen but its contents are not showing on full screen I want those two button at the bottom of the screen
private fun setupDestinationStationDialog() {
//Initializing pickup…

Hasnain Bhatti
- 1
- 3
0
votes
2 answers
Dismiss BottomSheetDialogFragment on back-click or touch outside
I have an issue with my BottomSheetDialogFragment whereby I can cancel it with a touch outside or a back click but if I close the app and re-open it then those that I have canceled reappear.
I have tried adding cancelled on touch outside in the…

Philip09
- 85
- 9
0
votes
1 answer
Localelist init: IllegalArgumentException: list[1] is a repetition
I have recently noticed a lot of these crashes in my app.
I am not able to reproduce it myself.
Any idea what the issue might be?
I think it might happen when a bottom sheet dialog is about to be shown.
For reference my app supports 3 languages…

shko
- 64
- 2
- 20
0
votes
1 answer
BottomSheetDialogFragment not painting nav bar android
I'm using the BottomSheetDialogFragment and I'm overriding this to add my theme :
override fun getTheme() = R.style.BottomSheetDialogTheme
Where this style looks like :