【问题标题】:how can i make this one row Grid view scrolling horizontally我怎样才能使这一行网格视图水平滚动
【发布时间】:2013-12-04 10:43:10
【问题描述】:

这是我希望它水平滚动的 Gridview

<GridView
        android:id="@+id/gridview1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="15dp"
        android:layout_below="@id/tv_contactus"
        android:scrollbars="horizontal"
        android:verticalSpacing="50dp" />

【问题讨论】:

标签: android xml gridview scroll


【解决方案1】:

使用画廊而不是网格视图。或者如果您使用的是较新的 android 版本,请使用 Horizo​​ntalscrollview

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-02-05
    • 1970-01-01
    • 1970-01-01
    • 2023-02-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多