title: Wrong View Height/Width value on Orientation change?
body: <p>I implemented onConfigurationChnage(..) to read value of view height and width on orientation configuration chnage </p>
  
  <pre><code>@Override
      public void onConfigurationChanged(Configuration newConfig) {
          super.onConfigurationChanged(newConfig);
  
          DisplayMetrics displaymetrics = new DisplayMetrics();
          getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
          int height = displaymetrics.heightPixels;
          int width = displaymetrics.widthPixels;
  
          Log.i(TAG, "onConfigurationChanged: "+newConfig.orientation+", "+height+", "+width + ", "+mTempeFrameLayout.getWidth());
      }
  </code></pre>
  
  <p>but it always reply old value, if orientation get change it gave last orientation (probably)value.</p>
  
  <p>Screen width/height using <strong>displaymetrics</strong> is coming right properly but same is not working for any view.</p>
  
  <p>Any one have idea..how can get correct value on orientation Change?</p>