zoukankan      html  css  js  c++  java
  • 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时哪个滚动条应该显示出来,或者不显示。

  • 相关阅读:
    union
    大端和小端
    迭代器
    STL
    动态内存管理2
    动态内存管理
    关于 FlexBox
    CSS的居中问题
    操作符
    JavaScript介绍
  • 原文地址:https://www.cnblogs.com/fengzhblog/p/3179922.html
Copyright © 2011-2022 走看看