Android Listview 隐藏滚动条

在<ListView>标签中设置属性。

android:fastScrollEnabled="false"

以下属性scrollbars可以设置为none也可以不设置为none。效果会有点不同。根据具体情况决定是否设置为none。

android:scrollbars="none"

属性fastScrollEnabled说明:

Enables the fast scroll thumb that can be dragged to quickly
scroll through the list. [boolean]

译:允许fast scroll thumb可以拖动来快速滚动列表。

属性scrollbars说明:

Defines which scrollbars should be displayed on scrolling or not.

译:定义在scrolling时哪个滚动条应该显示出来,或者不显示。

posted on 2013-07-09 14:38  勤修  阅读(33004)  评论(1编辑  收藏  举报

导航