Why does setGravity() have no effect in custom ViewGroup?
<p>I found this question have been asked in <a href="http://stackoverflow.com/questions/4145964/textview-gravity">here</a>. But Overriding <code>onMeasure</code> method in <code>TextView</code> seems not a perfect solution. Is there any other way to get it work?</p>
