View
-
Android自定义空间——onMeasure 详解:https://blog.csdn.net/dmk877/article/details/49558367
ViewGroup
五大传统布局
LinearLayout
Relative Layout
AbsoluteLayout
FrameLayout
TableLayout
ConstraintLayout
看文章评论看到好多人对于 ConstraintLayout 的排斥,认为存在功能有限,使用不便等。。。
ConstraintLayout 不是个新东西,是 iOS 布局的基本思想;而且是 Android 的默认布局方式。
所以。。。
官方文档
- Guides:https://developer.android.com/training/constraint-layout/
- Demo:https://github.com/googlecodelabs/constraint-layout
- API Docs: https://developer.android.com/reference/android/support/constraint/ConstraintLayout
博客
- 官方文档翻译:https://www.jianshu.com/p/38ee0aa654a8
- 入门文章(好懂):https://blog.csdn.net/guolin_blog/article/details/53122387
- Chain:https://www.jianshu.com/p/b884b8c46584
- 稀土掘金Demo:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2017/1015/8597.html
- http://www.codeceo.com/article/android-constraintlayout.html
- 使用汇总:https://segmentfault.com/a/1190000014876944
网友评论