fix(rings): make widget rings fill available space + higher render res
Build APK / build (pull_request) Successful in 1m42s

Rings were capped at a fixed 86dp; now each gauge fills its half of the widget
(weighted ImageView) so they grow with the placed widget size. Bumped RingRenderer
default bitmap to 360px/36 stroke to stay crisp at the larger display size.
This commit is contained in:
2026-06-12 08:02:11 +00:00
parent 952c8261e9
commit 10cc064f1f
2 changed files with 16 additions and 13 deletions
@@ -40,8 +40,8 @@ object RingRenderer {
markerColor: Int?,
centerText: String,
labelText: String? = null,
sizePx: Int = 240,
strokePx: Float = 24f
sizePx: Int = 360,
strokePx: Float = 36f
): Bitmap {
val bmp = Bitmap.createBitmap(sizePx, sizePx, Bitmap.Config.ARGB_8888)
val canvas = Canvas(bmp)