开发者

android listview last visible line

In my application, i've a list view, if the last visible line is truncated and I scroll down to this line, I wish that the line becomes 开发者_StackOverflowfully visible. I have to scroll down once more for it to become fully visible.


May be requestChildRectangleOnScreen can help. See http://developer.android.com/reference/android/widget/ListView.html


I found! My list is not very high but his lines are quite high. So I overloaded getMaxScrollAmount method which by default is limited to one third of the total height of the list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜