title: getWidth() and getHeight() always returning 0. Custom view
body: <p>In a Fragment, I am inflating a Layout with multiple child View. I need to get the dimensions (width and height) of one of them which is a custom view.  </p>
  
  <p>Inside the custom view class I can do it easily. But if I try to do it from the fragment I always get 0 as dimensions.</p>
  
  <pre><code> public void onViewCreated(View view, Bundle savedInstanceState) {
  
      super.onViewCreated(view, savedInstanceState);
      View culoide = view.findViewWithTag(DRAW_AREA_TAG);
      Log.d("event", "culoide is: "+culoide.getWidth()); // always 0
  }
  </code></pre>
  
  <p>I figure that onViewCreated should be the right place to get it, but well this happens. I tried before super.onViewCreated, in debug it looks like 'findViewWithTag' finds the right view, tried with api 7 v4 support only.</p>
  
  <p>Any help?</p>