Is there a way to find scaled density when display size increased to largest

Viewed 36

is there any to find to find largest display scale density? I need to show different layout if it is scaled up more than 170 percent. We are getting scaled density for currently set scaled diaplay only. By using DENSITY_DEVICE_STABLE we are getting scaled density for default scale.

Display scale image

1 Answers

LocalDensity.current returns an object with properties to access these attributes, I imagine.

Related