From 63099be772d2ddd1870950ae59c29cbe981fc9d2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 5 Nov 2019 12:23:44 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt | 2 +- app/src/main/res/layout/activity_audio_play.xml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt b/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt index cd114bc68..d2fbf7c67 100644 --- a/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt +++ b/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt @@ -77,8 +77,8 @@ class AudioPlayActivity : VMBaseActivity(R.layout.activity_a ImageLoader.load(this, book.getDisplayCover()) .placeholder(R.drawable.image_cover_default) .error(R.drawable.image_cover_default) - .centerCrop() .bitmapTransform(BlurTransformation(this, 25)) + .centerCrop() .setAsDrawable(iv_bg) } diff --git a/app/src/main/res/layout/activity_audio_play.xml b/app/src/main/res/layout/activity_audio_play.xml index a4b06402e..540fec706 100644 --- a/app/src/main/res/layout/activity_audio_play.xml +++ b/app/src/main/res/layout/activity_audio_play.xml @@ -33,10 +33,8 @@ android:id="@+id/iv_cover" android:layout_width="260dp" android:layout_height="260dp" - android:layout_gravity="center" android:contentDescription="@string/img_cover" android:scaleType="centerCrop" - android:src="@drawable/image_cover_default" app:civ_border_width="2dp" app:civ_border_color="@color/colorAccent" app:layout_constraintBottom_toTopOf="@+id/ll_player_progress"