开发者

how to maintain the orginal size of image of button in android?

开发者 https://www.devze.com 2023-01-30 15:55 出处:网络
when I add image 开发者_开发百科for button in android using setBackgroundResource mthe height of the image changes ,, how can i maintian the original height of of the image on the button ??you can spe

when I add image 开发者_开发百科for button in android using setBackgroundResource mthe height of the image changes ,, how can i maintian the original height of of the image on the button ??


you can specify layout_height and layout_weight values to "wrap_Content"

0

精彩评论

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