vendredi 2 septembre 2016

Get Image dimensions after scaling in imageview

Hello guys, Lets say i have Imageview1 with a fixed width and height and i put a scaled bitmap in it using bitmapplus lib now the question is how to get the the layout variables (left,top,width,height) of the actual drawn image after scaling inside the imageview with a CENTER gravity ??? not the imageview dimensions but the drawn bitmap inside,, i thought imageview1.bitmap.height/width would be a good start but it shows the same dimensions as the imageview maybe because it's centered im not...

Get Image dimensions after scaling in imageview

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2cw4XRa
via IFTTT

Aucun commentaire:

Enregistrer un commentaire