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
Gap between Cards in CardListView #157
Comments
@gabrielemariotti |
It is quite simple: Best option: <!-- List -->
<dimen name="list_card_padding_left">0dp</dimen>
<dimen name="list_card_padding_right">0dp</dimen>
<dimen name="list_card_padding_bottom">0dp</dimen>
<dimen name="list_card_padding_top">0dp</dimen> The default layouts have this style (check @layout/list_card_layout or @layout/list_card_thumbnail_layout) <it.gmariotti.cardslib.library.view.CardView
style="@style/list_card.base"/> This style contains this values: <style name="list_card">
<item name="android:paddingLeft">@dimen/list_card_padding_left</item>
<item name="android:paddingRight">@dimen/list_card_padding_right</item>
<item name="android:paddingBottom">@dimen/list_card_padding_bottom</item>
<item name="android:paddingTop">@dimen/list_card_padding_top</item>
</style> Other options
|
@gabrielemariotti |
@gabrielemariotti |
@gabrielemariotti Thanks for this trick but still there is divider is showing between cards, could you please let me know how we can remove that too. Thanks |
|
its not working for me |
I want to remove space between cards in cardlistview. I am try to using cardslistview.setDivideHight(0), but it still contains space between cards. Can you instruct me what is the correct way to get ride off the space between cards?
The text was updated successfully, but these errors were encountered: