Android ConstraintLayout 小记

* 可以圆形定位view之间的位置,通过View的中心,来定位不同半径和弧度的距离。

  • layout_constraintCircle : references another widget id
  • layout_constraintCircleRadius : the distance to the other widget center
  • layout_constraintCircleAngle : which angle the widget should be at (in degrees, from 0 to 360)

 

 
 
 
* 子view的Gone实际没有被remove,还在,只是大小是0 
 
 
 
 
 
 

posted @ 2019-11-13 16:12  狂奔的小狮子  阅读(334)  评论(0编辑  收藏  举报