使用活动+片段cardview过渡 [英] transition using activity + fragment and cardview

查看:225
本文介绍了使用活动+片段cardview过渡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我这么苦苦很难找到如何拿出的设计和实施显示cardview的,这样当用户点击一个cardview以detailActivity那么必须有一个[转型] [1]。下面是动画的链接。请帮帮我
<一href=\"http://1.bp.blogspot.com/-Vv4SxVSI2DY/VEqQxAf3PWI/AAAAAAAAA7c/mfq7XBrIGgo/s1600/activity_transitions%2B(1).gif\" rel=\"nofollow\">http://1.bp.blogspot.com/-Vv4SxVSI2DY/VEqQxAf3PWI/AAAAAAAAA7c/mfq7XBrIGgo/s1600/activity_transitions%2B(1).gif

I am so struggling hard to find how to come up with the design and implementation of showing cardview so that when a user click a cardview to detailActivity then there must be a [transition][1]. below is the link of the animation. Please help me http://1.bp.blogspot.com/-Vv4SxVSI2DY/VEqQxAf3PWI/AAAAAAAAA7c/mfq7XBrIGgo/s1600/activity_transitions%2B(1).gif

推荐答案

您可以在其的LayoutManager GridLayoutManager 和那些类型转换的棒棒糖和Android的新版本。如果你想在pre-棒棒糖设备的过渡也可以使用这个库 https://开头github.com/takahirom/$p$pLollipopTransition

you can use cardviews in recyclerview with its LayoutManageras GridLayoutManager and those type of transitions are available in Lollipop and newer versions of android. if you want those transitions in pre-lollipop devices too,you can use this library https://github.com/takahirom/PreLollipopTransition

这篇关于使用活动+片段cardview过渡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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