On Sat, 2008-04-05 at 05:21 -0700, Tofik wrote: > I have List View of elements. How can I scroll to specific view? I > tried next: > > private ListView listMessages; > ... > View specificElement; > ... > listMessages.scrollTo(specificElement.getScrollX(), > specificElement.getScrollY()); > > but it doesn't work. I also tried specificElement.requestFocus(), > tried to draw rectangle and use requestRectangleOnScreen, but I can't > get what I really want. Can you help, please? > > Thanks.
It seems that there is no other way to scroll ListView besides using the selection to do the scrolling for you. > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [EMAIL PROTECTED] > Announcing the new M5 SDK! > http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -~----------~----~----~----~------~----~------~--~--- >
signature.asc
Description: This is a digitally signed message part

