android卡片风格,一个卡片堆叠显示效果的Android自定义视图

本文介绍了如何在Android应用中实现卡片堆叠显示效果,使用CardStackView库,支持三种动画效果(全下、上下、上下堆叠),并提供了两种滚动方式。通过添加依赖和设置适配器,可以轻松实现卡片视图。
摘要由CSDN通过智能技术生成

CardStackView

Show something like cards with 3 kinds of animations(alldown, updown, updownstack). Two ways to scroll the items:one is scroll normal as listview, other one is scroll to overlap first one.

Screenshot

f3b7ce59a65ee7ecf984e0f8c2e7ed57.gif1c2a801664275a50b1dbc9138c43fdec.gif437fe3451006dc958f6c1085f9baf916.gif

Installation

dependencies {

compile 'com.loopeer.library:cardstack:1.0.2'

}

Usages

android:layout_width="match_parent"

android:layout_height="match_parent"/>

mStackView = (CardStackVi

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值