5

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. enter image description here

 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.

enter image description here

Updated: Try with this code

kyogs
  • 6,766
  • 1
  • 34
  • 50

5 Answers5

3

Hey you can try: FancyCoverFlow and android-coverflow-widget

A N M Bazlur Rahman
  • 2,280
  • 6
  • 38
  • 51
  • 1
    @rokonid i seen this fancycover flow demo but i cant remove space between two image. i want view as shown in image. – kyogs Dec 14 '13 at 13:30
2

https://github.com/davidschreiber/FancyCoverFlow

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

Niraj Adhikari
  • 1,678
  • 2
  • 14
  • 28
  • i seen this fancycover flow demo but i cant remove space between two image. i want view as shown in image. – kyogs Dec 14 '13 at 13:31
1

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

Chintan Khetiya
  • 15,962
  • 9
  • 47
  • 85
pengwang
  • 19,536
  • 34
  • 119
  • 168
0

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.

yaser
  • 61
  • 2
  • 3
0

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.