linerout 线性布局
textview 是文本控件
margin外边距 padding内边距 orientation 方向
wrap_content 根据文本补齐
match_content 根据父
magrintop 是相对自己临近的设置上边距离
gravity设置内部元素对其方式
你占50 我占50 剩下根据权重平分
linerout 线性布局
textview 是文本控件
margin外边距 padding内边距 orientation 方向
wrap_content 根据文本补齐
match_content 根据父
magrintop 是相对自己临近的设置上边距离
gravity设置内部元素对其方式
你占50 我占50 剩下根据权重平分