0
<?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>
我想創建全屏畫廊...
謝謝,現在的作品!我還添加了\t \t imageView.setLayoutParams(new Gallery.LayoutParams(320,480)); 在我的適配器 – LuZa 2012-03-15 00:32:45
你會告訴我你在哪裏添加了lineViewView.setLayoutParams(new Gallery.LayoutParams(320,480));請準確地請 – VENKI 2012-04-27 21:26:05
我認爲他已將此設置爲Adapter的** getView **方法中使用的圖像。有關更多詳情,請閱讀[this](http://raivoratsep.com/114/android-gallery-tutorial-working-example/) – waqaslam 2012-04-28 07:53:32