diff options
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index e1f563e01..5d249d863 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -1175,8 +1175,8 @@ public abstract class XmppActivity extends Activity { Glide.with(this) .load(bm) .override(288, 288) - //.fitCenter() - .centerCrop() + .fitCenter() + //.centerCrop() .diskCacheStrategy(DiskCacheStrategy.RESULT) .into(imageView); //Log.d(Config.LOGTAG,"Load image with glide"); @@ -1192,8 +1192,8 @@ public abstract class XmppActivity extends Activity { .load(vp) .asBitmap() .override(288,288) - //.fitCenter() - .centerCrop() + .fitCenter() + //.centerCrop() .diskCacheStrategy(DiskCacheStrategy.RESULT) .videoDecoder(fileDescriptorBitmapDecoder) .into(imageView); |