I am building a simple POS for the local Samoan market and are dynamically creating buttons based on user selected preferences on the grid size. This works great and I have images attached to the buttons (made of a panel, label and imageview) working fine, however because of the variables in terms of grid layout I was hoping to use the image as a B4XimageView and set the resizemode to FILL_NO_DISTORTIONS, but when I do this I find that my resizing of the ImageView is no longer allowed nor can I set the Visibility of the ImageView.
Is there a way that I can continue to do this while using B4XimageView?
I can do what I need using the depreciated FillImageToView sub in
https://www.b4x.com/android/forum/threads/b4x-xui-fill-and-fit-images-without-distortion.86627/ but want to move to a better Cross platform solution if possible.
Thanks,
Kev