Android xml界面

一般情况下,在编辑xml文件中,主要关注的的是Layout(布局)和...view(组件)。

一.常用的Layout(布局)

1.ConstraintLayout(约束布局)。详细可见 https://blog.csdn.net/guolin_blog/article/details/53122387
2.
LinearLayout(线性布局)。
1)创建
LinearLayout

2)详细可见 http://www.runoob.com/w3cnote/android-tutorial-linearlayout.html

 3.还有一些,身为小白的我,个人感觉不重要,觉得LinearLayout(线性布局)挺好用的。慢慢更新。

二.常用的...view(组件)

 1.TextView  2.EditText 3.Button 4.ImageView 5.AdapterView 6对话框(Dialog)【注】分类参考 李刚 疯狂Android讲义第三版 目录。慢慢更新

猜你喜欢

转载自www.cnblogs.com/jmu21054/p/8980494.html