如何在多行中显示图像?

我创建了一个 gallery 有多行(图像来自网络所以数量是动态的),我想使用 gallery,但是它们显示在中间,所有的都在同一行。我不知道哪个属性控制的这个函数。

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical">
<Gallery xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/Gallery" android:layout_width="fill_parent"
android:layout_height="fill_parent" />
    </LinearLayout>

你可能需要使用 GridView 代替。
请参考: http://developer.android.com/resources/tutorials/views/hello-gridview.html