ConstraintLayout.LayoutParams lp = (ConstraintLayout.LayoutParams) mBtnConfirm.getLayoutParams();
lp.leftToRight = -1;
lp.leftToLeft = ConstraintLayout.LayoutParams.PARENT_ID;
ConstraintLayout.LayoutParams lp = (ConstraintLayout.LayoutParams) mBtnConfirm.getLayoutParams();
lp.leftToRight = -1;
lp.leftToLeft = ConstraintLayout.LayoutParams.PARENT_ID;
本文标题:ConstrainLayout 代码设置 关联Parent
本文链接:https://www.haomeiwen.com/subject/viomtctx.html
网友评论