FrameLayout: 帧布局 越是后面写的控件越在顶层 层层叠加
网格布局 GridLayout
行数:android:rowCount=“行数”
列数:android:columnCount=“列数”
跨列数:layout_columnSpan=“跨列数”
跨行数:layout_rowSpan=“跨行数”
列权重:layout_columnWeight=“列权重”
行权重:layout_rowWeight=“行权重”
TextView
text 文本
textSize
textColor
textStyle
lines
singleLine
typeface
跑马灯:
singleLine=“true”
ellipsize=“marquee”
focusable=“true”
focusablenInTouchMode=“true”
EditText
hint 内容为空的时候显示的文本
editable 设置是否可编辑
maxLength 设置最大的字数
inputType
ImageView
src
scaleType 缩放模式
imageButton