What to identify whether textview content reached view end?
<p>I am trying to identify does textview's content inside or it does not fit.</p>

<p>By googling, I found this solution:</p>

<pre><code>        tvContent.setText(tvContent.getText()+sb.toString());
        TextPaint paint = tvContent.getPaint();
        Rect rect = new Rect();
        String text = String.valueOf(tvContent.getText());
        paint.getTextBounds(text, 0, text.length(), rect);
        boolean reached = rect.height() &gt; tvContent.getHeight();
</code></pre>

<p>But it has false value for all tries - when it fits and when it does not fit. How actually to identify it fits or not?</p>

<p><a href="http://i.stack.imgur.com/j8Tzq.png" rel="nofollow">Screenshot</a>
<a href="http://i.stack.imgur.com/Q8jht.png" rel="nofollow">Log</a></p>