Hey, I have the same problem. Thanks for your link. I shall check it out. Here's the post containing suggestions for me, you might find helpful.
http://stackoverflow.com/questions/9232515/viewpager-and-pageradapter-in-a-document-reader/9233834#9233834 Cheers! On Feb 11, 5:39 am, luciofm <luci...@gmail.com> wrote: > Hi, > I have a requirement to show a paginated text in a ViewPager, so Ineed > to know how much text fits in a TextView within each page of > myViewPager. > I made a hack, fixing the number of lines of TextView in the > layout,and calculating how much text willfit on each line, reaching > the limitof 10 lines (the number of lines that I've fixed on my > TextView) Isave the page Text and continue to measure the next page's > text. > If anyone has experienced similar problem or have a better > solutionthan mine and want to share ... > I put snippets of code on githubhttps://gist.github.com/8ac25178173a1e60f391 > Cheers.Lúcio Maciel > luci...@gmail.com -- 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