2014-01-23 29 views

回答

1

在您的列表视图XML属性

<ListView 
    android:id="@+id/listView1" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:fastScrollEnabled="false" > 
</ListView> 

机器人:fastScrollEnabled = “假”

使false以上属性可以帮助你。

0

使用android:scrollbars="none"

所以一个例子的ListView是:

<ListView 
    android:id="@+id/listview" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:scrollbars="none" /> 
1

使用 android:scrollbars =“none”在你提到你的列表视图代码的xml文件中。

<ListView 
    android:id="@+id/listview" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:scrollbars="none" />