I looked at this answer for WPF.
Is there a similar option to get the dimensions in mm on Android?
Found the answer
DisplayMetrics dm = getResources().getDisplayMetrics();
double heightinmm = heightinpixels / dm.ydpi
Please login first to submit.