BakerJQ / Android-InfiniteCards

An infinite card switching UI for Android, support custom animation 自定义实现神奇动效的卡片切换视图
Apache License 2.0
1.73k stars 204 forks source link

how to reverse the layout #3

Closed specloli closed 7 years ago

specloli commented 7 years ago

how can i reverse the layout , i want put the outside card board in bottom . in chinese ,我想把那些突出的卡片的边放到下面,应该怎么办?

BakerJQ commented 7 years ago

你可以自定义Transformer,可以看到默认的Transformer里有setTranslationY,这个就是根据传入的卡片参数对每张卡片进行Y方向的位置调整,你可以在这里进行操作,比如尝试把