title: Android: How to get a custom View's height and width?
body: <p>How do I use <code>getMeasuredWidth()</code> and <code>getMeasuredHeight()</code>? It always returns 0. What is the difference between this and <code>getHeight()</code> and <code>getWidth()</code>?</p>