开发者

how to set equal top and bottom of image in android?

i want to set equal top and bottom of each images,how can i set for all i开发者_StackOverflowmages in android? anybody know please give the code for that

Thanks all


Just set android:scaleType="center" to your ImageView for ImageBitmap, or set android:layout_gravity="center" to your ImageView for its layout in his parents.

it perfectly work

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜