asales Expert Licensed User Longtime User Sep 20, 2018 #1 I use this lib: https://www.b4x.com/android/forum/threads/lib-chargeable-amir_recyclerview.97274/ from @alimanam3386 I saw options to CenterCrop, FitCenter, CenterInside the image in imageview (samples: Gallery, Carousel, Scale, etc.). How I can Fill the image in the imageview?
I use this lib: https://www.b4x.com/android/forum/threads/lib-chargeable-amir_recyclerview.97274/ from @alimanam3386 I saw options to CenterCrop, FitCenter, CenterInside the image in imageview (samples: Gallery, Carousel, Scale, etc.). How I can Fill the image in the imageview?
asales Expert Licensed User Longtime User Sep 21, 2018 #2 Solved! B4X: Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Apply(Glide.RO.CenterCrop).Into(Img) Just remove the Apply: B4X: Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Into(Img) Upvote 0
Solved! B4X: Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Apply(Glide.RO.CenterCrop).Into(Img) Just remove the Apply: B4X: Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Into(Img)