Horizontal tile spacing
See original GitHub issueHi @dandc87, I just started experimenting with the library (versions 0.8.1 and 1.0.0-beta1) and I think it’s awesome! I’m wondering if it’s possible to set the tile size and still make the view fill all of the horizontal space. Currently, if I set the tile size to something smaller than the default 44dp, the tiles group together in the center, leaving padding on the left and right sides of the calendar. Basically, I’m trying to reduce the overall height of the calendar view, while still making it fill the horizontal space of the screen.
This is what I’m doing in XML:
<com.prolificinteractive.materialcalendarview.MaterialCalendarView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
And then in Java:
calendarView.setTileSizeDp(38);
Here’s a screenshot of what the calendar looks like:
And here’s a screenshot of roughly what I’m going for:
Thanks in advance! -Dan
Issue Analytics
- State:
- Created 8 years ago
- Comments:25 (2 by maintainers)
Top Results From Across the Web
What Size Spacers to Use When Installing Tile - Hunker
Tile spacers typically come in these sizes: 1/16, 1/8, 3/16, 1/4 and 3/8 inches. You can match spacer size to field tile size,...
Read more >Tile School: Grout Lines and Tile Patterns | Fireclay Tile
If you look closely you can see that the grout line varies between roughly a 3/16 and 1/8 grout line to adjust to...
Read more >Choosing the Right Tile Spacers for Your Bathroom
On the other hand, some tile designers prefer a thin line between large tiles—think 18 by 18 inches—to give the appearance of one...
Read more >Pick Your Pattern: A Visual Guide to Tile Layouts
Don't know where to start with those new tiles? Here is an explainer on 1/3 staggered tile pattern plus 4 other basic patterns....
Read more >Which Direction Should You Run Your Tile Flooring? Well...
12 x 24 tile floor being laid across the narrow width of the room to ... run the length of the space keeps...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue has been fixed and is available in the 1.3 snapshot. Stay tuned for the next release.You can try the 1.3 snapshot with the instructions in README. Enjoy and report issues!
its overlap the decorated date by selected date color