Android Cover Flow gallery and remove space between

折月煮酒 提交于 2019-11-29 10:51:14

https://github.com/davidschreiber/FancyCoverFlow

This should be of help for what you are trying to achieve.

pengwang

if you implement gallery as use FancyCoverFlow, you can use this.fancyCoverFlow.setSpacing(-90); -90 may be modify

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!