Open zommerfelds opened 2 years ago
My game engine (using canvas) needs raw pixel values. I added a new method (for backwards compatibility) to get the insets without multiplying by the density. Hope this is useful!
Tested this on an Android 12 device (Pixel 5).
My game engine (using canvas) needs raw pixel values. I added a new method (for backwards compatibility) to get the insets without multiplying by the density. Hope this is useful!
Tested this on an Android 12 device (Pixel 5).