Android Card UI : card resize (gabrielemariotti)

不想你离开。 提交于 2020-01-25 11:43:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!