AndroidImageSlider
AndroidImageSlider copied to clipboard
HIde desciption layout
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)
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
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);`