如何在多行上显示图片,android

如何在多行上显示图片,android,android,Android,我想要一个有多行的图库(图片来自网络,所以数字是动态的) 我试图使用画廊,但他们出现在中心,都在同一排,我不知道什么心房认为这一功能 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"&g

我想要一个有多行的图库(图片来自网络,所以数字是动态的) 我试图使用画廊,但他们出现在中心,都在同一排,我不知道什么心房认为这一功能

    <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