问题
I want to implement cover flow view as shown below image. I also tried with cover flow but cant achieved perfect view as show in image. Reduce the space between the items.

this.fancyCoverFlow.setSpacing(-90);
I tried with this line and its working but other problem occur as shown below image not getting same spec to left and right . And scroll from left to right working fine but scroll from right to left not in correct way.

Updated: Try with this code
回答1:
Hey you can try: FancyCoverFlow and android-coverflow-widget
回答2:
https://github.com/davidschreiber/FancyCoverFlow
This should be of help for what you are trying to achieve.
回答3:
if you implement gallery as use FancyCoverFlow, you can use this.fancyCoverFlow.setSpacing(-90);
-90 may be modify
回答4:
Use
this.fancyCoverFlow.setUnselectedAlpha(1.0f);
this.fancyCoverFlow.setActionDistance(FancyCoverFlow.ACTION_DISTANCE_AUTO);
this.fancyCoverFlow.setUnselectedScale(0.75f);
in your code, i hope this will help you.
回答5:
I am also faced same problem, use following code in your code (FancyCoverFlow.java) file.
private void initialize() {
this.transformationCamera = new Camera();
this.setSpacing(-200); // specifies space between images. }
In my case I am using FancyCoverFlow which extends Gallery.
来源:https://stackoverflow.com/questions/20583033/android-cover-flow-gallery-and-remove-space-between