diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-05-21 22:23:12 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-05-21 22:23:12 +0200 |
commit | ec0231f0b84df5461fa312fae8108965dc8386d3 (patch) | |
tree | 0e10166f431504ae5d3e039188860dc70cfa9d9c /src/main/java | |
parent | a892fce36d3f94d07878e82d45b823e4e67f227a (diff) |
make thumbs bigger
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 16 |
1 files changed, 8 insertions, 8 deletions
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) |