摘要:
// ConstraintLayout.LayoutParams linearParams =(ConstraintLayout.LayoutParams) imDanci.getLayoutParams(); //// 2.设置布局的高度 后面的参数就是对应xml中的 42dp 可以根据需要进行改 阅读全文
posted @ 2020-08-05 08:54
张学涛
阅读(1694)
评论(0)
推荐(0)
摘要:
// int w = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); // int h = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIF 阅读全文
posted @ 2020-08-05 08:52
张学涛
阅读(782)
评论(0)
推荐(0)

浙公网安备 33010602011771号