9.16球球总结
布局:
LinearLayout
android:orientation="vertical"
RelativeLayout
<!-- 在相对布局中,如果么有设置相对位置,那么空间默认位于布局的左上角位置 -->
<!-- -->
<!--
android:layout_toRightOf:当前控件的左边框与相对控件的右边框对齐
android:layout_toLeftOf:当前控件的右边框与相对控件的左边框对齐
android:layout_Below:当前控件的上边框与相对控件的下边框对齐
android:layout_Above:当前控件的上边框与相对控件的上边框对齐-->
<!--
android:layout_alignBottom:当前控件的下边框与相对控件的下边框对齐
android:layout_alignLeft 当前控件的右边框与相对控件的右边框对齐 android:layout_alignRight 当前控件的左边框与相对控件的左边框对齐
-->
<!--
android:layout_alignParentBottom="true" 当前控件的下边框与父控件的下边框对齐
android:layout_alignParentTop="true"当前控件的上边框与父控件的上边框对齐
android:layout_alignParentLeft="true" 当前控件的左边框与父控件的左边框对齐
android:layout_alignParentRight="true"当前控件的右边框与父控件的右边框对齐
-->
<!--
android:layout_centerHorizontal="true" 水平居中
android:layout_centerVertical="true" 垂直居中
android:layout_centerInParent="true" 正中央
右边垂直居中???
-->
<TextView
android:id="@+id/tv01"
android:layout_width