I think he wants to know what range of characters are exposed, when the text is longer than the visible area. The TextView and ScrollView don't really communicate or coordinate this very well. Since ScrollView works on a pixel basis, and TextView is all about characters and lines, you likely have to do all the paint.measureText() work yourself. Maybe I am missing something.
On Jan 21, 10:53 am, TreKing <treking...@gmail.com> wrote: > On Fri, Jan 21, 2011 at 5:45 AM, dylan-cool <zran1...@gmail.com> wrote: > > i am now try to get the current shown text in the textview as a bookmark > > for future reference.but how can i located to this site,and save a portion > > of my string? > > Sorry, but your question does not make much sense. > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en