Commit 0057afb1 authored by Amit Kumar's avatar Amit Kumar 💻

Change iconsize to 0.75cm instead of 1cm.

parent 0c5af647
Pipeline #38707 passed with stage
in 5 minutes
......@@ -239,9 +239,9 @@ public class DeviceProfile {
Log.i(TAG, "updateIconSize: " + (int) a + " " + (int) b);
iconSizePx = (int) (widthPx / widthCm);
iconSizePx = (int) (widthPx * 0.75 / widthCm);
if (ratio >= 1) {
iconSizePx = iconSizePx * (int) ratio;
iconSizePx = (int) (iconSizePx * ratio);
}
iconTextSizePx = (int) (Utilities.pxFromSp(12, dm) * scale);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment