![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android自学的一些笔记
Lxiaohuli
大一,没有任何工作经验,只有一腔热血,在实验室待了很长时间,希望可以真正走到工作岗位上试试
展开
-
1.Android之布局LinearLayout(线性布局)
<!--vertical布局为垂直布局,horizontal为水平线性布局 gravity为此布局内容的对齐方式有topbuttom、left、right、 center_vertical、fill_vertical、center_horizontal、 fill_horizontal、center、fill、clip_vertical、clip_hor原创 2016-09-14 14:02:18 · 455 阅读 · 0 评论 -
2.Android笔记之RelativeLayout(相对布局)
相对布局是指当前元素相对于父元素或者兄弟元素的位置。 RelativeLayout用到的一些重要的属性: 第一类:属性值为true或false android:layout_centerHrizontal 水平居中 android:layout_centerVertical 垂直居中 android:layout_centerInparent 相对于父元素完全居中 andr原创 2016-09-14 14:42:08 · 376 阅读 · 0 评论 -
2.Android笔记之TableLayout(表格布局)
TableLayout主要内容都是包含在中,一个就是一行。具体代码如下 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="mat原创 2016-09-14 16:32:00 · 271 阅读 · 0 评论