Priyan
Priyan

Reputation: 1

Android Card UI : card resize (gabrielemariotti)

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?

Upvotes: 0

Views: 1146

Answers (1)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 363975

The default card has a min height.

You can override this value in your dimens.xml:

<dimen name="card_base_empty_height">96dp</dimen>

Upvotes: 2

Related Questions