Comments (4)
Its modeled after the design guidelines found here where it shows tablets having 4 icons in a row. However, I will update it to alter the logic to evenly distribute them based on the number of icons present
from bottomsheetmenu.
Thank you.. really looking forward to that.
from bottomsheetmenu.
The way column count will work for grids is as followed:
You can set the number of columns via the builder by calling the setColumnCount(int count)
method, or you can set it via a style by specifying the <attr name="bottom_sheet_column_count" format="integer" />
attribute
If the column count isn't specified, it will be obtained based on the number of items to display. If there are 7 or more items or exactly 4 items, 4 columns will be shown. If 1,2,3 or 5 items are to be displayed, 3 columns will be shown.
These values are only used if using the Grid style. The list style still follows the same logic as before
from bottomsheetmenu.
Wow! That was quick... thank you very much sir Kenny!
from bottomsheetmenu.
Related Issues (20)
- On Resume bottom sheet Hides and expands HOT 7
- Set click listener for customview buttons HOT 2
- Bottom sheet with lot of content will cover whole screen? HOT 2
- hey HOT 9
- Unable to set background for custom view HOT 2
- The exit animation often blocked when press the back button. HOT 2
- Open keyboard on custom layout with edittext HOT 1
- BottomSheet not anchoring to bottom of screen HOT 2
- Failed to resolve HOT 1
- There is a problem HOT 1
- how to show menu in State_Expanded when bottom sheet is shown in landscape mode? HOT 2
- Error when building project "bottom_sheet_list_item_color_dark not found HOT 1
- Impossible to change font size? HOT 1
- MinSdk 19 is required HOT 1
- Crash on rotation
- More than one file was found with OS independent path 'META-INF/library_release.kotlin_module'.
- Crash On Rotation
- QUERY_ALL_PACKAGES permission HOT 4
- Crash when app goes to background HOT 1
- Top padding remains visible after we define empty title HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bottomsheetmenu.