Custom Scale Factor for Android in Dev Mode

Please let me know if there is any way/plugin to set up a custom scale factor for the pixel to Dp conversion.

Right now I can only see 1/3, 1/2 , No scaling, 2, 3 as the unit suggestions for
Scale factor for scaling dimensions into Android dp/sp

Where as other tools like Sympli will allow me to setup a custom conversion ratio from Pixels to android dp/sp

2 Likes

Custom scale factor is required for modern android development. Android/compose no longer uses the logical density buckets (mdpi, hdpi, xdpi etc) when drawing. It uses the actual scaling factor to get exact density independent drawing.

So using custom scale factors is a requirement for the android code representation to have any value