views:

299

answers:

2

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 fully visible. I have to scroll down once more for it to become fully visible.

A: 

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

alex2k8
I can not find when and how to use it.
Arutha
A: 

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.

Arutha