Android: Measuring child with sizes defined in its xml
<p>I would like to know how to measure child view with width and height value which are defined  in child's xml file.</p>

<p>I know that in <code>onMeasure()</code> method of my custom <code>ViewGroup</code> I should call:</p>

<pre><code>child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
</code></pre>

<p>But how to get <code>childWidth</code> and <code>childHeight</code> from xml code?</p>
