1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:gravity="center_vertical"> 6 <Gallery xmlns:android="http://schemas.android.com/apk/res/android" 7 android:id="@+id/gallery" 8 android:layout_width="fill_parent" 9 android:layout_height="wrap_content"/> 10 </RelativeLayout> 11