title: What are widthMeasureSpec and heightMeasureSpec in Android custom Views?
body: <p>I have seen a lot of examples of creating custom views and layouts in android. What I've learned from them is that the measure (as said on Android developer's site) method is <code>onMeasure()</code>, which has <code>widthMeasureSpec</code> and <code>heightMeasureSpec</code> as parameters.</p>
  
  <ol>
  <li>What is the actual meaning of those parameters? </li>
  <li>What are their initial values?</li>
  <li>With what values they are called if the custom view that I am creating is the parent view for my activity?</li>
  </ol>
  
  <p>I am really very confused about these questions.</p>