在<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时哪个滚动条应该显示出来,或者不显示。

更多相关文章

  1. Android动画学习笔记-Android(安卓)Animation
  2. Android(安卓)UI: LinearLayout中layout_weight 属性的使用规则
  3. Android布局属性
  4. android 中动画
  5. Android(安卓)TransitionManager源码解析
  6. onRetainNonConfigurationInstance和getLastNonConfigurationIns
  7. Android(安卓)1.5 1.6 2.0 2.1 2.2都有什么区别
  8. 面试官:作为Android高级攻城狮,请你解释一下 android:text 到 Text
  9. Android高手进阶教程(四)之----Android(安卓)中自定义属性(attr.

随机推荐

  1. 系统总结归纳一下android
  2. android EditText的自动换行和对Enter键
  3. Android和设计模式:代理模式
  4. Android串口设备的应用实现方案以及与WEB
  5. Android的开源隐忧:品牌稀释 代码分裂
  6. 昨日看了一本书《Android技术内幕.系统卷
  7. android辅助开发工具包介绍
  8. 【更新】Google 与微软开始口水战
  9. 扬州旅游app(一)
  10. React Native之如何在Android上添加阴影