Android Question How to load the actual height, more or less, of an image in the imageview which is inside the customlistview?

Hanz

Active Member
Assuming there are no other controls/widgets aside from an imageview inside a .bal file, what is the efficient way so that the imageview will automatically adjust to the height of the image and consequently the height of the cell of the customlistview? For instance, the height of imageview is 75 but the image has 150, the imageview's height must change to 150 as well as the height of the cell item of the customlistview.
 
Top