pull/47/head
kunfei 5 years ago
parent e6b613d92a
commit 63099be772
  1. 2
      app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt
  2. 2
      app/src/main/res/layout/activity_audio_play.xml

@ -77,8 +77,8 @@ class AudioPlayActivity : VMBaseActivity<AudioPlayViewModel>(R.layout.activity_a
ImageLoader.load(this, book.getDisplayCover()) ImageLoader.load(this, book.getDisplayCover())
.placeholder(R.drawable.image_cover_default) .placeholder(R.drawable.image_cover_default)
.error(R.drawable.image_cover_default) .error(R.drawable.image_cover_default)
.centerCrop()
.bitmapTransform(BlurTransformation(this, 25)) .bitmapTransform(BlurTransformation(this, 25))
.centerCrop()
.setAsDrawable(iv_bg) .setAsDrawable(iv_bg)
} }

@ -33,10 +33,8 @@
android:id="@+id/iv_cover" android:id="@+id/iv_cover"
android:layout_width="260dp" android:layout_width="260dp"
android:layout_height="260dp" android:layout_height="260dp"
android:layout_gravity="center"
android:contentDescription="@string/img_cover" android:contentDescription="@string/img_cover"
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:src="@drawable/image_cover_default"
app:civ_border_width="2dp" app:civ_border_width="2dp"
app:civ_border_color="@color/colorAccent" app:civ_border_color="@color/colorAccent"
app:layout_constraintBottom_toTopOf="@+id/ll_player_progress" app:layout_constraintBottom_toTopOf="@+id/ll_player_progress"

Loading…
Cancel
Save