roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 532 forks source link

Grid height is not correct when using verticalSpacing on the GridView #418

Open grennis opened 8 years ago

grennis commented 8 years ago

In the Sample app, in date_grid_fragment.xml, set:

android:verticalSpacing="12dp"

Notice that the grid is now scrollable inside a smaller area than it should have. Because, the InfiniteViewPager does not consider vertical spacing when calculating the height it should be.