diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-05-20 22:31:16 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-05-20 22:42:23 +0200 |
commit | 516da5145406af146ba267ce874a1c8d20059918 (patch) | |
tree | e9d46e68456262390f486ca154c20fc5f685393b /src/main/java/eu/siacs/conversations/ui | |
parent | ea44db4c633ba5ede5044aaa089819a817060d28 (diff) |
changed colors to standard from @color and add border to images
Diffstat (limited to '')
-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); |