我有这个网格视图
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gridView1"
android:numColumns="3"
android:gravity="center"
android:columnWidth="50dp"
android:stretchMode="columnWidth"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
但我不知道怎么做
setVerticalScrollBarEnabled(false);
如果我
说得对,那么你只需要在 xml 的网格视图中添加以下行
android:scrollbars="none"
跳 这就是你想要的。
如果是,则标记为向上。:)