This is what you need to do, no code, at least a short layout.
<LinearLayout orientation=vertical for whole screen> <LinearLayout weight=1 gravity=center> </LinearLayout> <LinearLayout weight=1 orientation=horizontal> <LinearLayout weight=1 gravity=left/> <LinearLayout weight=1 gravity=right/> </LinearLayout> <LinearLayout weight=1> <LinearLayout weight=1 gravity=center/> <LinearLayout weight=1 gravity=center/> </LinearLayout> </LinearLayout>
Hope this helps, let me know if you need more clarification.
source share