daimajia / AndroidImageSlider

An amazing and convenient Android image slider.
MIT License
5.62k stars 1.66k forks source link

Shrunken image #345

Closed lumibasqui closed 7 years ago

lumibasqui commented 7 years ago

Hi everyone,

I have a layout with:

I have included 4 TextSliderView for SliderLayout and when the slider layout change of page I modify the content of textview and image. In my first page the text has 15 lines, mean while ther rest of pages have 3 lines , so in the first page I have a small image (good) but when we move from first to second page, the image from second page has the same size that the first page (wrong). The third and fouth images have correct size. The second image should have the same size that third and fourth page.

Later if we move from fourth to third page and from third to second page....the image size in the second page is correct now!!

Can you help me?

Thanks.

lumibasqui commented 7 years ago

I solved this issue setting scale of original image as FitCenterCrop.