Search code examples
androidandroidimageslider

how to show a part of next image in daimajia slider?


I'm using daimajia slider library.

But I need to show part of prev, next images.

It looks like this.

enter image description here

I can't find options.

How can I do this?


Solution

  • To achieve this UI, you can

    Option 1: Use ViewPager and set paddings for it (You can check this)

    Option 2: When you have too many images to show and want to recycle -> Use horizontal RecyclerView with SnapHelper (You can check this)