aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-05-20 22:31:16 +0200
committerChristian Schneppe <christian@pix-art.de>2016-05-20 22:42:23 +0200
commit516da5145406af146ba267ce874a1c8d20059918 (patch)
treee9d46e68456262390f486ca154c20fc5f685393b /src/main/java
parentea44db4c633ba5ede5044aaa089819a817060d28 (diff)
changed colors to standard from @color and add border to images
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/XmppActivity.java8
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);