Android:ListView 2.2 中的 ScrollBar 错误
该问题出现在Android 2.2中。它看起来很酷,因为它可以自动隐藏。但我不太喜欢它,因为该栏是“小部件上是否存在更多内容”的指示器。隐藏它也许很巧妙,但有时可能会让用户出错。在ListView中,我发现它根本就是一个致命的bug。当有更多内容要显示时,不会出现滚动条,并且向下擦拭屏幕时,不会出现滚动条。仅当使用轨迹球或方向键移动焦点时,才会出现滚动条。但更糟糕的是:当您向下擦拭以向下移动滚动条时,什么也没有发生!触摸功能在这里几乎被禁用。
有人可以帮我吗?谢谢!
The problem appears in Android 2.2. It seems cool because it can auto-hide.But I don't like it quite much because the bar is an indicator for "Whether there is more content not present on the widget". Hiding it maybe neat, but may get the users wrong sometimes. In ListView, I find it a fatal bug at all. When there is more content to show, no scrollbar present, AND when wipe the screen down-wards, no scroolbar appears. Only when use the traceball or Dpad to move focus, there appears the scrollbar. BUT THERE IS WORSE: when you wipe down-wards to move the scrollbar down, nothing happens! The touch feature is almost disabled here.
Can anyone help me here? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许那里的答案会对你有帮助
Android ListView 不滚动?
我在滚动视图中有一个列表视图。在我评论了滚动视图之后,就可以使用列表视图的滚动了。
奇怪的是,这个问题只出现在Android 2.2上。
Maybe answers there will help you
Android ListView that does not scroll?
I had a listview inside of a scrollview. After I'd commented scrollview it was possible to use listview's scrolling.
The weird thing is, that this problem occurs only on Android 2.2.
我在 android 2.2 中使用 listView 并且它工作得很好。垂直滚动是隐式发生的,不包含滚动视图。希望你的 ListView id 是@android:id/list。
还有一个小修正,要向下移动列表,您需要向上擦拭屏幕而不是向下......
I am using a listView in android 2.2 and it works just fine . The vertical scrolling happens implicitly without the inclusion of a scroll view . Hope your ListView id is @android:id/list.
And a small correction , to move down the list , you need to wipe the screen UPWARDS not DOWNWARDS ....