Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26c07616 authored by Evan Laird's avatar Evan Laird
Browse files

Increase the thickness of the fill protection for the battery icon

The battery icon is real small, so making the protection around the
charging / powersave icons larger makes things look nicer

Test: visual
Change-Id: I71db27c6e16defa285de14f5c5c1a85af0afde0d
parent b0e93d73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -411,8 +411,8 @@ open class ThemedBatteryDrawable(private val context: Context, frameColor: Int)
        private const val CRITICAL_LEVEL = 15
        // On a 12x20 grid, how wide to make the fill protection stroke.
        // Scales when our size changes
        private const val PROTECTION_STROKE_WIDTH = 1.4f
        private const val PROTECTION_STROKE_WIDTH = 3f
        // Arbitrarily chosen for visibility at small sizes
        private const val PROTECTION_MIN_STROKE_WIDTH = 5f
        private const val PROTECTION_MIN_STROKE_WIDTH = 6f
    }
}