AndroidImageSlider icon indicating copy to clipboard operation
AndroidImageSlider copied to clipboard

HIde desciption layout

Open mohanishn1234 opened this issue 9 years ago • 2 comments

How to hide description_layout ? Here is what I have tried to do so.

TextSliderView textSliderView = new TextSliderView(context); textSliderView.getView().findViewById(R.id.description_layout).setVisiblity(View.GONE)

mohanishn1234 avatar Jul 13 '16 10:07 mohanishn1234

Use class DefaultSliderView;

A SliderView is the view that shows in SliderLayout. There are two preset slider views.

DefaultSliderView can only show an image. TextSliderView can show an image and description text. It's very very easy to make your own custom Slider View.

https://github.com/daimajia/AndroidImageSlider/wiki/Slider-view

levisaturnino avatar Jul 13 '16 20:07 levisaturnino

You should use class : `SliderLayout sliderLayout = view.findViewById(R.id.slider); DefaultSliderView textSliderView = new DefaultSliderView(contextSl); textSliderView .image("https://www.film2movie.ws/content/themes/film2movie/images/header.jpg");

sliderLayout.addSlider(textSliderView);`

hadikhezrpour avatar Aug 15 '19 14:08 hadikhezrpour