简体   繁体   English

Android Card UI:卡片尺寸调整(gabrielemariotti)

[英]Android Card UI : card resize (gabrielemariotti)

I'm making an android app with cards UI, by using the library: https://github.com/gabrielemariotti/cardslib 我正在使用以下库通过Cards UI开发一个Android应用程序: 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: 您可以在dimens.xml中覆盖此值:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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