This is the code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<Gallery
android:id="@+id/gallery"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:spacing="5dp"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
</LinearLayout>
I want to create fullscreen gallery…
set @android:style/Theme.Black.NoTitleBar.Fullscreen to the activity declaration in your AndroidManifest.xml file to gain FullScreen view.
For example: