Hi i found issue regarding the pixels width and height calculation of tablet on changing orientation portrait where width =800 and height =1200 in landscape mode its changed to width=1165 and height =790 why this difference is coming i am using this code
DisplayMetrics displaymetrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(displaymetrics); int height = displaymetrics.heightPixels; int width = displaymetrics.widthPixels;
