问题
I'm making an android app with cards UI, by using the library: https://github.com/gabrielemariotti/cardslib
I want to make a custom card which will be smaller than the default card size. Is there any way to do this?
回答1:
The default card has a min height.
You can override this value in your dimens.xml:
<dimen name="card_base_empty_height">96dp</dimen>
来源:https://stackoverflow.com/questions/25907697/android-card-ui-card-resize-gabrielemariotti