问题描述
我这么苦苦很难找到如何拿出的设计和实施显示cardview的,这样当用户点击一个cardview以detailActivity那么必须有一个[转型] [1]。下面是动画的链接。请帮帮我
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 mehttp://1.bp.blogspot.com/-Vv4SxVSI2DY/VEqQxAf3PWI/AAAAAAAAA7c/mfq7XBrIGgo/s1600/activity_transitions%2B(1).gif
推荐答案
您可以在其的LayoutManager
为 GridLayoutManager $ recyclerview使用cardviews C $ C>和那些类型转换的棒棒糖和Android的新版本。如果你想在pre-棒棒糖设备的过渡也可以使用这个库
you can use cardviews in recyclerview with its LayoutManager
as 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过渡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!