文章目录
- 设置图标:
这是全部的窗口:分类大纲:
我们常用的栏是id,Layout,Declared Attributes:
拖动可视化视图中的控件,两边的内容(代码/值)会联动变化
constraintLayout的0dp(match_constrint)值的效果
以纵向为例
Declared Attribute(已经声明了的属性(值)(提供修改功能)
每增加一条属性声明,该栏目就会相应地增加(同时会改变(增加)xml代码文件中控件的相关代码行)
constraint属性调节的是位置相对其参考系的分布位置
height和width调节地是控件本身地形状(规格/大小)
快速大概地添加一个控件:
设置图标:
这些窗口栏中许多属性是重复出现的,属性的分类具有一定的交集