Metrics — Kivy documentation
This stems from the fact that the DPI and density of a device cannot be changed at runtime. We provide some environment variables to control metrics: KIVY_METRICS_DENSITY: if set, this value will be used for density instead of the systems one. On android, the value varies between, 1, and 2.