我如何实现CoverFlow视图 [英] How can i achieve CoverFlow view
问题描述
我想用点缀布局实现溢出视图. 目前,我正在使用polidea覆盖流程库URL [gitHub] . 使用该库,图像绘制在中心.
I want to achieve overflow view with dotted layout. Currently i am using polidea cover flow library URL [gitHub]. Using this library images are drawn at center.
我想实现这样的精确用户界面.
I want to achieve exact UI like this.
推荐答案
https://github.com/davidschreiber提供了一种出色的方法/FancyCoverFlow 其中
Android应用程序中的FancyCoverFlow可以用作
FancyCoverFlow in Android app can be used as
fancyCoverFlow = new FancyCoverFlow(context);
fancyCoverFlow.setMaxRotation(45);
fancyCoverFlow.setUnselectedAlpha(0.3f);
fancyCoverFlow.setUnselectedSaturation(0.0f);
fancyCoverFlow.setUnselectedScale(0.4f);
您还可以从XML扩展FancyCoverFlow:
You can also inflate FancyCoverFlow from XML:
<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" />
也请访问
1) https://github.com/deepwinter/android-coverflow
2) https://github.com/i7an/cover-flow-android
3) https://github.com/driventokill/android-coverflow
4) https://github.com/HelgePlaschke/Android-Cover-Flow-Widget
5) https://github.com/missingfeature/android-coverflow
这篇关于我如何实现CoverFlow视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!