<TextView>、<ImageView>、<>
</TextView>结束或者</>结束
设置TextView大小为Wrap_Content则自动调整大小
dp相对像素的单位,使得图现在任意分辨率的设备上呈现相同的大小
sp文字的大小单位,与dp类似
textcolor、textSize 、background、layout_width、layout_height
添加图片到drawable中进行引用
scaleType设置图片格式,center居中,centerCrop适应性居中
当需要多种view时,使用viewgroup打包,linearlayout和relativelayout(viewgroup也是一个view)
linear线性排列,只能水平或者竖直排列
relative感觉上可以任意排列