Get text bounds of space
<p>How to measure bounds of space in android?</p>

<p>I mean, the following:</p>

<pre><code>Rect bounds = new Rect();    
paint.getTextBounds(String.valueOf(' '), 0, 1, bounds);
return bounds.width();
</code></pre>

<p>returns 0.</p>
