From ec0231f0b84df5461fa312fae8108965dc8386d3 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 21 May 2016 22:23:12 +0200 Subject: make thumbs bigger --- .../java/eu/siacs/conversations/ui/XmppActivity.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main') diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index f3385b950..be23e932c 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -1173,13 +1173,13 @@ public abstract class XmppActivity extends Activity { File bm; bm = xmppConnectionService.getFileBackend().getFile(message, true); Glide.with(this) - .load(bm) - .override(288, 288) - .fitCenter() - //.centerCrop() - .diskCacheStrategy(DiskCacheStrategy.RESULT) - .into(imageView); - //Log.d(Config.LOGTAG,"Load image with glide"); + .load(bm) + .override(400, 400) + .fitCenter() + //.centerCrop() + .diskCacheStrategy(DiskCacheStrategy.RESULT) + .into(imageView); + } public void loadVideoPreview(Message message, ImageView imageView) { @@ -1191,7 +1191,7 @@ public abstract class XmppActivity extends Activity { Glide.with(getApplicationContext()) .load(vp) .asBitmap() - .override(288,288) + .override(400, 400) .fitCenter() //.centerCrop() .diskCacheStrategy(DiskCacheStrategy.RESULT) -- cgit v1.2.3