2014-01-23 30 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" />