setDensityDpi
Set the density dpi of the device so that text sizes can be preset. If this method is not called, by default device is assumed to be of high density.
Parameters
densityDpi
DisplayMetrics
Set the density dpi of the device so that text sizes can be preset. If this method is not called, by default device is assumed to be of high density.
DisplayMetrics