Android-Image-Slider icon indicating copy to clipboard operation
Android-Image-Slider copied to clipboard

Support custom indicator outside of SliderView frame

Open VuHongKy opened this issue 5 years ago • 3 comments

As title, I want to display the indicator outside of SliderView frame, but it's fixed on xml layout of lib. Could you support the custom indicator feature like this library: https://github.com/daimajia/AndroidImageSlider/blob/e318cabdef668de985efdcc45ca304e2ac6f58b5/library/src/main/java/com/daimajia/slider/library/SliderLayout.java#L226

If it's done, this lib is perfect! ^_^ Please support this!

VuHongKy avatar May 20 '20 10:05 VuHongKy

Please give an update on this. It's a really important feature to add.

BuraqsysStudio avatar Oct 15 '20 11:10 BuraqsysStudio

I just work using PageIndicatorView in xml and disable indicator on sliderview.

then, combine them by :

slider.selectedColor = ContextCompat.getColor(requireActivity(), R.color.color_primary)
slider.unselectedColor = ContextCompat.getColor(requireActivity(), R.color.color_gray)
slider.setPageIndicatorView(slider_indicator)

zainalfh avatar May 06 '21 09:05 zainalfh

I think this issue should be closed.

zainalfh avatar May 06 '21 09:05 zainalfh