Skip to content Skip to sidebar Skip to footer

How To Set Image's Top And Bottom In Same Size For Android?

I want to display image in center and top and bottom in same size refer bellow screens,anybody know please give the code to me... Thanks All

Solution 1:

Use

android:scaleType="centerInside"

or

ImageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE)

Post a Comment for "How To Set Image's Top And Bottom In Same Size For Android?"