Questions tagged [android-bottomsheetdialog]

205 questions
0
votes
0 answers

How to implement Bottom sheet that can be Fully expend and have appBar in full view

I want to create a BottomSheet like : BottomSheet picture and when it scrolled up : fully expend picture here is the way i tried : package com.amir.todone.fragments; import android.os.Bundle; import android.view.LayoutInflater; import…
0
votes
1 answer

How we can use bottomSheet in fragment for RecyclerView in android?

I have a simple project, and I want to use bottom sheet for list items in fragment, every things looks good, but after build the project, app crash like that, a null object reference for row_list.setOnLongClickListener I do not know where is the…
user10991969
0
votes
1 answer

How do I make my Bottom Sheet Dialog dynamic?

it's the first time I am trying to implement a BottomSheetDialog into my Android Studio project. In order to get a little bit more familiar with the process I tried following this tutorial on Youtube: https://youtu.be/hfoXhiMTc0c. In my actual Java…
e5lite
  • 11
  • 6
0
votes
1 answer

How to make a BottomSheetDialog full screen?

I have a BottomSheetDialog class that shows when we click the button, I need to make it full screen not on half on the page. public class BottomSheetDialogBuyPlan extends BottomSheetDialog { public BottomSheetDialogBuyPlan(@NonNull Context…
Malo
  • 1,232
  • 2
  • 17
  • 28
0
votes
0 answers

MaterialBottomSheet blur of outside

As you can see in the pictures, when the subpage dialog is opened, the places outside the subpage are not blurred. How do I fix this? I tried many methods but without success. I am using material theme as theme. By the way, I also used the normal…
0
votes
1 answer

Bottom Sheet Dialog - Transparent background header with close button

I am trying to make a transparent background header for close button. The background header is working as expected, however the background layout can see the visible and button is also not clear. Am trying to build like this below…
0
votes
1 answer

How do I change the colour of status bar icons when a fragment is opened?

I have created 2 fragments and made them overlap using bottom sheet. First one fragment opens, then the second framgment opens, but when the 2nd fragment is closed,the colour of the status bar icons change to white if the status bar background is…
0
votes
1 answer

Fragment replaced when inflate BottomSheetDialog

I have a problem in my activity: it has FragmentContainerView that initially show the home fragment and, when the activity's method onCreate start, it show a BottomSheetDialog. When I show the BottomSheetDialog the Home Fragment disappear. From what…
0
votes
1 answer

Android Coordinator Layout - unable to align button to Bottom

I've an activity which uses this BottomSheetDialog theme:
0
votes
0 answers

Implementing BottomSheet inside fragment

Im ussing a bottomSheet inside a fragment. Im receiving the must implement FilterListenerBottomSheet error, even though im acctually implementing the interface as you can see bellow. May the error be on the onAttach function? What am i missing…
0
votes
0 answers

how to use onActivityResult from a bottom sheet dialog class

How to use onActivityResult inside a bottom sheet dialog class? ivCaptureImage.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (new…
0
votes
1 answer

Show keyboard when BottomSheet opens

I want the keyboard to appear automatically when certain fragments are open in my application. To this end, I created an extension function showKeyboard(): fun EditText.showKeyboard() { this.requestFocus() val imm =…
Taslim Oseni
  • 6,086
  • 10
  • 44
  • 69
0
votes
2 answers

How to animate BottomSheetDialogFragment in Android?

I have a BottomSheetDialogFragment that I would like to animate by applying Bézier curve on its entry and exit. I have managed to apply simple animation this way override fun onActivityCreated(arg0: Bundle?) { super.onActivityCreated(arg0) …
0
votes
1 answer

What's simple code/effective code to create CheckBox Programmatically in BottomSheetDialog when click every item in RecyclerView in Android (Java)

I have 100+ item in RecyclerView. these days I have tried to create simple code/effective code to create Checkbox in BottomSheetDialog Programmatically but no success. My goal : Every item click in RecyclerView will show BottomSheetDialog with…
0
votes
1 answer

How can i find thd implementation details in Android Developers Doc?

When i view others Android code, i find a class which extends BottomSheetDialogFragment. I want to use it (BottomSheetDialogFragment), then I find it need to add implementation in build.gradle(app). I had viewed this website…