1
android:layout_alignTop="@id/xxx" --将控件的上边缘和给定ID控件的上边缘对齐
一般用Relative布局
2
android:layout_centerInParent="true" --将控件置于父控件的中心位置
3
android:scaleType="centerCrop"
CENTER_CROP / centerCrop 按比例扩大图片的size居中显示,使得图片长 (宽)等于或大于View的长(宽)
貌似不起作用