android - 如何显示下一页的viewpager

标签 android android-viewpager

我想在 viewpager 中将下一项显示为用户选择的阴影,如下图所示:

enter image description here

我用过 viewpager-transformer 但它不起作用。 任何人都可以帮助我做到这一点。 谢谢。

最佳答案

你可以使用 FancyCoverFlow

<at.technikum.mti.fancycoverflow.FancyCoverFlow
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        fcf:maxRotation="45"
        fcf:unselectedAlpha="0.3"
        fcf:unselectedSaturation="0.0"
        fcf:unselectedScale="0.4" />

https://github.com/davidschreiber/FancyCoverFlow

http://davidschreiber.github.io/FancyCoverFlow/

http://www.devexchanges.info/2016/09/viewpager-cards-like-duolingo.html

关于android - 如何显示下一页的viewpager,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41357686/

相关文章:

android - 如何添加动态 Viewpager 高度

android - 连接SDK求跳转到0 :00

java - 当编辑文本的输入类型设置为数字时,android 软键盘不可见

java - Android billing v3 - 无签名

javascript - ajax 发布错误 : NETWORK_ERR: XMLHttpRequest Exception 101 on android device

android - 如何使用回收器 View 模拟 View 寻呼机?

android - GridLayout 在给定 fill_parent 高度时下推其子项并溢出

android - 使用 WebView 的 Jetpack 导航无法正常工作

android - ViewPager 用于屏幕从右向左滑动

Android:在 ViewPager 中使用 Swipe 的 ListView