There is no provision that is similar.
I would like to scale images across many android devices.
Is this the right approach?
/* some code not shown; smartImageView is basically an instance of SmartImageView */
smartImageView.setImageUrl(data.picture);
smartImageView.setMaxHeight(10);
smartImageView.setMaxWidth(10);
What units are used as parameters for setMaxHeight() and setMaxWidth() or other methods for size setting?
Is there a way to scale the images, to make it similar to:
There is no provision that is similar. I would like to scale images across many android devices. Is this the right approach?
What units are used as parameters for
setMaxHeight()
andsetMaxWidth()
or other methods for size setting?Thanks.