首页 > 移动平台 > 详细

Android ConstraintLayout 小记

时间:2019-11-13 16:31:12      阅读:86      评论:0      收藏:0      [点我收藏+]

* 可以圆形定位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 
 
 
 
 
 
 

Android ConstraintLayout 小记

原文:https://www.cnblogs.com/spring87/p/11850443.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!