From 90601f3470e5fe66e67d1fc91441ed2190221c64 Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 24 Jul 2019 17:54:10 +0200 Subject: [PATCH] Scale down letter in contact picture fallback image --- .../java/com/fsck/k9/contacts/ContactLetterBitmapCreator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/src/main/java/com/fsck/k9/contacts/ContactLetterBitmapCreator.kt b/app/ui/src/main/java/com/fsck/k9/contacts/ContactLetterBitmapCreator.kt index bcbd0d1ed..66b152b25 100644 --- a/app/ui/src/main/java/com/fsck/k9/contacts/ContactLetterBitmapCreator.kt +++ b/app/ui/src/main/java/com/fsck/k9/contacts/ContactLetterBitmapCreator.kt @@ -25,7 +25,7 @@ class ContactLetterBitmapCreator( isAntiAlias = true style = Paint.Style.FILL setARGB(255, 255, 255, 255) - textSize = (pictureSizeInPx * 3 / 4).toFloat() // just scale this down a bit + textSize = pictureSizeInPx.toFloat() * 0.65f } val rect = Rect()