文章目录

这是全部的窗口:分类大纲:

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_控件

我们常用的栏是id,Layout,Declared Attributes:

拖动可视化视图中的控件,两边的内容(代码/值)会联动变化
android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_控件_02

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_xml_03

constraintLayout的0dp(match_constrint)值的效果

以纵向为例
android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_xml_04

Declared Attribute(已经声明了的属性(值)(提供修改功能)

每增加一条属性声明,该栏目就会相应地增加(同时会改变(增加)xml代码文件中控件的相关代码行)

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_xml_05
constraint属性调节的是位置相对其参考系的分布位置
height和width调节地是控件本身地形状(规格/大小)

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_控件_06

快速大概地添加一个控件:

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_xml_07

设置图标:

android studio_constraintLayout可视化编辑器的基本使用(Button/textView)_控件_08
这些窗口栏中许多属性是重复出现的,属性的分类具有一定的交集