3

私はそのようにListViewネストされたものを持っています:HorizontalScrollView

<HorizontalScrollView android:layout_width="fill_parent"
                      android:layout_height="fill_parent"
                      android:fillViewport="true">
    <ListView android:id="@android:id/list"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" />
</HorizontalScrollView>

のメソッドArrayAdapterでは、 andgetView()を動的に追加TextViewsImageViewsます。ListActivity基になるデータは、のonCreate()メソッドで一度設定されます。1 つのリスト項目の幅が使用可能なスペースを超える場合、ScrollViewそれが最初の項目であり、View は最初の項目の右の境界線が表示されるまでスクロールしない限り、スクロールしません。

足りないものはありますか?

4

1 に答える 1