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 · 428 阅读 · 0 评论 -
2.Android笔记之RelativeLayout(相对布局)
相对布局是指当前元素相对于父元素或者兄弟元素的位置。 RelativeLayout用到的一些重要的属性:第一类:属性值为true或falseandroid:layout_centerHrizontal 水平居中android:layout_centerVertical 垂直居中android:layout_centerInparent 相对于父元素完全居中andr原创 2016-09-14 14:42:08 · 366 阅读 · 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 · 262 阅读 · 0 评论