赞
踩
相对定位 :
//Left , Right 全排列 组合成的 四种 属性 layout_constraintLeft_toLeftOf layout_constraintLeft_toRightOf layout_constraintRight_toLeftOf layout_constraintRight_toRightOf //Start , End 全排列 组合成的 四种 属性 layout_constraintStart_toEndOf layout_constraintStart_toStartOf layout_constraintEnd_toStartOf layout_constraintEnd_toEndOf //Top , Bottom 全排列 组成的 四种属性 ; layout_constraintTop_toTopOf layout_constraintTop_toBottomOf layout_constraintBottom_toTopOf layout_constraintBottom_toBottomOf //Text BaseLine 基线约束 一个 属性 ; layout_constraintBaseline_toBaselineOf
相对定位 属性 组合 前提 : 以 水平方向的 Left , Right 为例 ;
相对定位 属性 四种组合 :
相对定位 属性 四种组合 :
相对定位 属性 四种组合 :
设置相对位置约束后 :
要想用好约束布局 , 一定要精通其中的各种细节 ;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。