خرید بک لینک

Vote count: 0

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;

asked 4 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 9 مرداد 1395 ساعت: 21:23

صفحه بندی