diff options
author | Jaewan Kim <jaewan@google.com> | 2013-02-04 01:12:28 +0900 |
---|---|---|
committer | Jaewan Kim <jaewan@google.com> | 2013-02-09 03:27:09 +0900 |
commit | db68fac12daa2cf4a7568308995e218aed92728a (patch) | |
tree | 32e205435da7ce44e3bd8a8ceb07ee92fdd578ec /core/tests | |
parent | 1a1e9b317ac2d737ad92a35c4d806f0fda1ede70 (diff) | |
download | frameworks_base-db68fac12daa2cf4a7568308995e218aed92728a.zip frameworks_base-db68fac12daa2cf4a7568308995e218aed92728a.tar.gz frameworks_base-db68fac12daa2cf4a7568308995e218aed92728a.tar.bz2 |
Fix ListView is not scrolled properly with arrows
According to ListView's layoutChildren logic, it detaches all children
and rebuilds its children based on visible area which might omit
invisible elements in the adapter.
In this case, arrowScroll methods only tries to find next scroll
candidates from its children so user is unable to scroll more with
D-pad.
This fixes the issue by look forward next child among the adapter as
well as children.
Bug: 7346868
Change-Id: I01ab19ad899b5bcb5ab420ddf08c9ffd136933d1
Diffstat (limited to 'core/tests')
0 files changed, 0 insertions, 0 deletions