diff --git a/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt b/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt index 014280a7a..64e61508b 100644 --- a/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt @@ -62,7 +62,7 @@ class CoverImageView : androidx.appcompat.widget.AppCompatImageView { namePaint.strokeWidth = namePaint.textSize / 10 authorPaint.textSize = width / 9 authorPaint.strokeWidth = authorPaint.textSize / 10 - nameHeight = height * 3 / 5 + nameHeight = height / 2 authorHeight = nameHeight + authorPaint.fontSpacing } @@ -88,7 +88,7 @@ class CoverImageView : androidx.appcompat.widget.AppCompatImageView { namePaint.color = Color.WHITE namePaint.style = Paint.Style.STROKE canvas.drawText(it, width / 2, nameHeight, namePaint) - namePaint.color = Color.BLACK + namePaint.color = Color.RED namePaint.style = Paint.Style.FILL canvas.drawText(it, width / 2, nameHeight, namePaint) } @@ -96,7 +96,7 @@ class CoverImageView : androidx.appcompat.widget.AppCompatImageView { authorPaint.color = Color.WHITE authorPaint.style = Paint.Style.STROKE canvas.drawText(it, width / 2, authorHeight, authorPaint) - authorPaint.color = Color.BLACK + authorPaint.color = Color.RED authorPaint.style = Paint.Style.FILL canvas.drawText(it, width / 2, authorHeight, authorPaint) } diff --git a/app/src/main/res/drawable/image_cover_default.jpg b/app/src/main/res/drawable/image_cover_default.jpg index 6504a4e7e..0b502033c 100644 Binary files a/app/src/main/res/drawable/image_cover_default.jpg and b/app/src/main/res/drawable/image_cover_default.jpg differ