Eclipse中的界面布局设置——LinearLayout
1.如何设置居中
在LinearLayout中加
android:gravity="center"
效果
2.如何设置与上一个布局之间的距离
在LinearLayout中加
android:layout_marginTop="10dp"
效果
在LinearLayout中加
android:gravity="center"
效果
在LinearLayout中加
android:layout_marginTop="10dp"
效果