Search code examples
androidslideshowandroid-image

Android Image Slider cannot hide page indicator


I am using daimajia/AndroidImageSlider library, I need to display my images without PageIndicator.

I tried :

mImageSlider.setIndicatorVisibility(PagerIndicator.IndicatorVisibility.Invisible);

This got rid of the dots in the indicator, however, the grey rectangle shape inside which the dots used to be, still remain. enter image description here

I need to get rid of the grey rectangle area, is there a solution?


Solution

  • I solved this issue by writing my a custom ImageSlider, as specified here I love this library!