Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show both a message and a menu? #16

Closed
thorinside opened this issue Nov 17, 2015 · 2 comments
Closed

Show both a message and a menu? #16

thorinside opened this issue Nov 17, 2015 · 2 comments

Comments

@thorinside
Copy link

I wonder if it would be possible to build a bottomsheet with both the message (would be displayed at the top) and the menu (would be displayed below the message). I've been asked to have both a title and a short description message within the bottomsheet.

@Kennyc1012
Copy link
Owner

With the current setup, no. You can achieve this by setting a custom view. But you would have to manage everything yourself (setting up the adapter, click events, styles, etc...)

@thorinside
Copy link
Author

I found a dirty way to get this effect, by making a layout in my project called bottom_sheet_layout.xml and changing the layout to accommodate my description message above the menu. I read through your source code, and it might be nice to change it so that if menu AND message are set, use a third layout for the bottom sheet. If I have time, I may PR that some day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants