简体   繁体   中英

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?

The default card has a min height.

You can override this value in your dimens.xml:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM