ConstrainLayout 代码设置 关联Parent

2019-05-30  本文已影响0人  zii4914
ConstraintLayout.LayoutParams lp = (ConstraintLayout.LayoutParams) mBtnConfirm.getLayoutParams();
lp.leftToRight = -1;
lp.leftToLeft = ConstraintLayout.LayoutParams.PARENT_ID;
上一篇 下一篇

猜你喜欢

热点阅读