Android Question How to get the width and height of an ImageView?

Flavio SOuza

Member
Licensed User
Longtime User
How can I add an image without distorting the image in heigth ?

my code:

imgLogo.Top = 65dip
imgLogo.SetLeftAndRight(10%x,90%x)
imgLogo.Height = auto?
 
Top