Android - Predicate layout
<p>If i am using predicatelayout in my project, then What is the use of following statements.</p>

<pre><code>final int width = MeasureSpec.getSize(widthMeasureSpec) - getPaddingLeft() - getPaddingRight(); 
    // The next line is WRONG!!! Doesn't take into account requested MeasureSpec mode! 
    int height = MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); 
    final int count = getChildCount(); 
    int line_height = 0; 
</code></pre>
