android text wrapping
<p>In my android application, I am displaying a long string into multiple pages. I achieve this by breaking the long string into a string array where every array element holds the number of characters which can fit on one screen (without scrolling). Also by using a previous/next button at the bottom of my activity I change the content of my textview to switch between pages(array elements). </p>

<p>Where I am stuck is in finding out how many characters will show on one page/screen. Remember I don’t want user to scroll. I use the <code>paint.breaktext</code> with <code>screenwidth</code> as the parameter and find out how many characters go in one line and then multiply it by number of lines on one screen to get the number of characters in a page. Android’s text wrapping at the end of each line is what gets my calculation of finding characters in a page, wrong. I am trying to put my own logic to accommodate for text wrapping but that is not working. </p>

<p>So my question is:</p>

<ul>
<li>Is there any way I can find out that how many characters will show in one screen?</li>
<li>Or what can also help me is if I find out what logic is followed by android for wrapping the text for newline. Because if I know that, then I can readjust my number of characters on a page accordingly. </li>
<li>Or other option could be to disable text wrapping (not sure if possible). Because then I can use my own logic to wrap the text rather than trying to figure out Android’s text wrapping logic and adjusting my character-on-a-page accordingly.</li>
</ul>

<p>Any help is much apreciated.</p>
