val lp = root.img.layoutParams
lp.height = DipUtil.dip2px(this, 250)
root.img.layoutParams = lp
本文标题:android 用代码设置高度
本文链接:https://www.haomeiwen.com/subject/vwbtddtx.html
网友评论