Hi,
Here is how you can set the scale mode of an ImageView like CSS background-size property.
'scale = cover,contain,fill
Public Sub SetImageView(iv As ImageView,bmp As Bitmap, scale As String)
Dim jo As JavaObject=iv
jo.RunMethod("setImageBitmap",Array(bmp))
Select scale...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.