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 github https://gist.github.com/8ac25178173a1e60f391
Cheers.Lúcio Maciel
[email protected]

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to