Hello everyone,
I followed the tutorial to create the lists based on https://www.b4x.com/android/forum/threads/cards-list-with-customlistview.87720/
My card only consists of a title and an image that occupies the whole card, but I have a problem when I follow the example of the tutorial the height is fixed size and image is distorcioned.
How I can do to obtain the height of the image and based on that set the height of the card and the imageview (like instagram with different images and differents sizes cards)
The images are loaded through httputils.
Thanks a lot
I followed the tutorial to create the lists based on https://www.b4x.com/android/forum/threads/cards-list-with-customlistview.87720/
My card only consists of a title and an image that occupies the whole card, but I have a problem when I follow the example of the tutorial the height is fixed size and image is distorcioned.
How I can do to obtain the height of the image and based on that set the height of the card and the imageview (like instagram with different images and differents sizes cards)
The images are loaded through httputils.
Thanks a lot
Last edited: