【发布时间】:2014-06-17 22:53:15
【问题描述】:
我已经对此进行了很多搜索并尝试了所有方法 我在课堂上添加了这个
translator_list.setOverScrollMode(View.OVER_SCROLL_NEVER);
这是列表视图的布局
<ListView
android:id="@+id/translator_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/search_authrs"
android:divider="@drawable/authors_menu_divider"
android:fadeScrollbars="true"
android:fastScrollAlwaysVisible="false"
android:fastScrollEnabled="true"
android:listSelector="@drawable/sidemenu_selector"
android:paddingRight="40dip"
android:scrollbarStyle="insideOverlay"
android:scrollbars="none" />
但是快速滚动仍然出现,我启用了它,因为我有列表的索引功能,我需要快速滚动 它不会在 kitkat 中显示,但任何 sdk http://blog.matto1990.com/wp-content/uploads/2010/07/dispay_problem.png“赞这个图片”
提前谢谢你
【问题讨论】:
-
我不确定我是否理解。是否要删除快速滚动?在这种情况下,只需将
fastScrollEnabled设置为 false。 -
我需要快速滚动,但我想隐藏指示器
标签: android