布局管理器
LinearLayout常用属性
android:orientation:垂直分布(vertical)或水平分布(horoizontal) center:居中;center_horizontal:水平居中;center_vertical;垂直居中 padding:内边距 margin:外边距 top:顶部;botton:底部;left:左侧;right:右侧; layout_width:表示宽 layout_height:表示高 wrap_content:表示内容的大小 match_parent:表示剩余所有 layout_weight:表示权重 注:宽的话要把layout_width改为0dp,高就把layout_height改为0dp backgroud:表示背景颜色