Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用库制作带有卡片 UI 的 android 应用程序:https ://github.com/gabrielemariotti/cardslib
我想制作一张小于默认卡片尺寸的自定义卡片。有没有办法做到这一点?
默认卡片具有最小高度。
您可以在 dimens.xml 中覆盖此值:
<dimen name="card_base_empty_height">96dp</dimen>