开发者

how to set image's top and bottom in same size for android?

how to set image's top and bottom in same size for android?

how to set image's top and bottom in same size for android?

how to set image's top and bottom in same size for android?

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


Use

android:scaleType="centerInside"

or

ImageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜