我怎样才能实现CoverFlow视图

Bha*_*kar 4 android coverflow

我想用虚线布局实现溢出视图.目前我正在使用polidea封面流程库URL [gitHub].使用此库可以在中心绘制图像.

我希望像这样实现精确的UI.

Jit*_*yay 7

https://github.com/davidschreiber/FancyCoverFlow中给出了一个很好的方法

Android应用中的FancyCoverFlow可以用作

fancyCoverFlow = new FancyCoverFlow(context);
fancyCoverFlow.setMaxRotation(45);
fancyCoverFlow.setUnselectedAlpha(0.3f);
fancyCoverFlow.setUnselectedSaturation(0.0f);
fancyCoverFlow.setUnselectedScale(0.4f);
Run Code Online (Sandbox Code Playgroud)

您还可以从XML中扩展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" />
Run Code Online (Sandbox Code Playgroud)

请访问

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