Android的UI卡:卡调整大小(gabrielemariotti) [英] Android Card UI : card resize (gabrielemariotti)

查看:292
本文介绍了Android的UI卡:卡调整大小(gabrielemariotti)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用卡UI的Andr​​oid应用程序,通过使用图书馆: https://github.com/ gabrielemariotti / cardslib

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?

推荐答案

默认卡有最低高度。

您可以在您的dimens.xml覆盖此值:

You can override this value in your dimens.xml:

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

这篇关于Android的UI卡:卡调整大小(gabrielemariotti)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆