fix image scaling of no bubble mode
This commit is contained in:
parent
828ab89765
commit
772421f20d
|
@ -117,6 +117,7 @@ class ImageContentRenderer @Inject constructor(
|
||||||
*/
|
*/
|
||||||
GlideApp.with(imageView)
|
GlideApp.with(imageView)
|
||||||
.load(imageUrl)
|
.load(imageUrl)
|
||||||
|
.fitCenter()
|
||||||
.listener(object: RequestListener<Drawable> {
|
.listener(object: RequestListener<Drawable> {
|
||||||
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
|
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
|
||||||
Timber.e("Rendering url $imageUrl failed: $e")
|
Timber.e("Rendering url $imageUrl failed: $e")
|
||||||
|
|
|
@ -99,4 +99,4 @@
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -86,4 +86,4 @@
|
||||||
app:tint="?vctr_content_secondary"
|
app:tint="?vctr_content_secondary"
|
||||||
tools:ignore="MissingPrefix" />
|
tools:ignore="MissingPrefix" />
|
||||||
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
Loading…
Reference in New Issue