Answers for "android how to get width of widows"

0

android how to get width of widows

DisplayMetrics displayMetrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
int height = displayMetrics.heightPixels;
int width = displayMetrics.widthPixels;
Posted by: Guest on April-15-2020

Code answers related to "android how to get width of widows"

Browse Popular Code Answers by Language