解决办法: 在RelativeLayout的子空间里,使用以下2个属性就行了。 android:layout_centerVertical="true" android:layout_centerHorizontal="true"