Questions tagged [bottom-sheet]

Material design concept - bottom sheets slide up from the bottom of the screen to reveal more content.

There are two major types of bottom sheets:

  • Modal bottom sheets are alternatives to menus or simple dialogs. They can also present deep-linked content from other apps. They are primarily for mobile.
  • Persistent bottom sheets present in-app content. Elevation distinguishes modal from persistent bottom sheets. Modal bottom sheets rest at a higher elevation than the app’s content; whereas persistent bottom sheets rest at the same elevation as the app and integrate with its content.

On larger screens, where space is less constrained, using alternative surfaces and components such as simple dialogs and menus may be more appropriate than bottom sheets.

1221 questions
0
votes
1 answer

Android - Dynamic Resizing of Bottom Sheets

I'm using the support libraries bottom sheets to show the user a dynamically changing TextView. The problem is, when I change the BottomSheet's state to EXPANDED, it's size wont adapt to a different size of TextView A video example of what I mean…
Mark Price
  • 75
  • 1
  • 1
  • 11
0
votes
2 answers

Android BottomSheetDialog adds extra vertical margin

I have BottomSheetDialog and BottomSheetDialogFragment with next layout:
0
votes
1 answer

Built-in grid bottom sheet?

Is there a built-in way for a grid bottom sheet, usually seen for sharing in some apps, or do I have to create a custom BottomSheet? //1 column bottom sheet String message = "Text I want to share."; Intent share = new Intent(Intent.ACTION_SEND); …
John Sardinha
  • 3,566
  • 6
  • 25
  • 55
0
votes
0 answers

How to set custom animation to design library BottomSheetDialogFragment android

I am stuck with animation. I set this animation to support library MyBottomSheetDialogFragment I try @Override public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) { return…
Qamar
  • 4,959
  • 1
  • 30
  • 49
0
votes
1 answer

How to implement bottomsheet like gmail profile view

Beautifully implemented bottom sheet with animation in Gmail v6.5,Google Maps and Facebook comment view. I like to implement same for my app so that I present detail using bottomsheets that merge with actionbar and swipe down to dismiss to easy…
Qamar
  • 4,959
  • 1
  • 30
  • 49
0
votes
1 answer

Not adequate behaviour of the BottomSheet

During the initialisation of the BottomView part of it appears in the bottom of the screen, when I'm trying to drag it by finger, it appears and then immediately disappear. How to fix it? Or how to make that all items of BottomSheet would appear in…
Lucky_girl
  • 4,543
  • 6
  • 42
  • 82
0
votes
2 answers

Bottom sheet above the scrollView

I want this kind of bottom sheet which should be above the ScrollView. The images in the scroll view should be behind the bottom sheet. the bottom sheet should always be there on the screen till the proceed button on it is clicked. Any help will…
0
votes
2 answers

Error inflating CoordinatorLayout

I'm trying to add a bottom sheet to my layout, so I place all my fragment's layout inside a CoordinatorLayout:
BVtp
  • 2,308
  • 2
  • 29
  • 68
0
votes
1 answer

Don't allow touch events on items below view

I have a ListView with video items. When user clicks the image of the Video it goes to a new screen and starts playing the video. If user clicks a button next to the video image then I display a BottomSheet from google design library. Because I want…
Mes
  • 1,671
  • 3
  • 20
  • 36
0
votes
1 answer

What is the role of Bottom Behavior in Bottom Sheet.

I have seen bottom dialog can work without bottom behavior. then why it needs to be used as i have read many tutorial, its written, bottom dialog and bottom behavior are must for bottom sheet. I am taking about model bottom sheet. please find the…
0
votes
0 answers

View pager not loading when set dynamically

I have opened a bottom sheet with viewpager on an activity which has details along with comment and activity stream. However the bottom sheet is opened when clicked on a list item on a fragment in the activity. The comment and activity streams are…
-1
votes
0 answers

iOS sheet not changing height

I tried to add a bottom sheet on my login page so when the user click on forgot password it shows the bottom sheet and the user can enter its email. Below is the code. Button(action: { if self.index == 0 { …
Seb
  • 2,929
  • 4
  • 30
  • 73
-1
votes
1 answer

Creating BorderRadius within a Scaffold in BottomSheet and minChildSize issue

Code B below is pop up from clicking showModalBottomSheet. It works fine as it is. But I am trying to fix 2 issues with this code. Issue 1: The maxChildSize and minChildSize doesn't seem to be working. How can this be fixed? Issue 2: Where can I…
-1
votes
1 answer

Issue with the BottomSheetDialogFragment in - Android

I was just upgrading the old android project and everything I have done properly and at the last I am just getting below error : 2022-07-21 15:19:06.548 19455-19455/com.brian.skyazul E/USNET: USNET: appName: com.packagename 2022-07-21…
-1
votes
2 answers

BottomSheet : The view is not a child of CoordinatorLayout

I've checked other posts having this problem and they said use instead of but when i use it shows red in my fragment.xml file, there is no such tag. How can i solve this error? In my…
AhChing11
  • 125
  • 1
  • 3
  • 15