Step #1: Wrap whatever it is you want centered on the screen in a full-screen RelativeLayout.
Step #2: Give that child view (the one, which you want centered inside the RelativeLayout) the android:layout_centerInParent="true" attribute.
Step #1: Wrap whatever it is you want centered on the screen in a full-screen RelativeLayout.
Step #2: Give that child view (the one, which you want centered inside the RelativeLayout) the android:layout_centerInParent="true" attribute.