From 2304a1c7fb3e3d6e8aa818b708073cc592ab262a Mon Sep 17 00:00:00 2001 From: GKF Date: Thu, 20 Jun 2019 15:57:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt | 2 +- app/src/main/res/drawable/shape_radius_10dp.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt index eab962729..da74b4020 100644 --- a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt @@ -39,7 +39,7 @@ class FindBookAdapter:PagedListAdapter fun bind(bookSource: BookSource) = with(itemView) { val bgShape: GradientDrawable? = tv_name.background as? GradientDrawable - bgShape?.setStroke(1, ColorUtils.getRandomColor()) + bgShape?.setStroke(2, ColorUtils.getRandomColor()) tv_name.text = bookSource.name } } diff --git a/app/src/main/res/drawable/shape_radius_10dp.xml b/app/src/main/res/drawable/shape_radius_10dp.xml index 0d0161412..9e72a3a38 100644 --- a/app/src/main/res/drawable/shape_radius_10dp.xml +++ b/app/src/main/res/drawable/shape_radius_10dp.xml @@ -3,6 +3,6 @@ \ No newline at end of file