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

Margin Around CellView? #17

Closed
mandrachek opened this issue Jan 26, 2016 · 1 comment
Closed

Margin Around CellView? #17

mandrachek opened this issue Jan 26, 2016 · 1 comment

Comments

@mandrachek
Copy link

I'm attempting to add margin around a cell view to let the background show through between each week row (tried both Square and EventCount CellView's), and it appears that the android:layout_margin values are not respected. Ideally I'd like to make it look something like https://github.com/p-v/FlexibleCalendar/blob/master/demo/screenshot-4.jpg, but with no horizontal margin between the days.

@p-v
Copy link
Owner

p-v commented Jan 27, 2016

You can use FlexibleCalendarView#setMonthViewHorizontalSpacing/FlexibleCalendarView#setMonthViewVerticalSpacing for setting the spacing between the cell.
If you wish to use it in xml, use flex:monthDayHorizontalSpacing

Set the monthDayHorizontalSpacing to 0. Hope that helps.

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