aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorM. Dietrich <mdt@emdete.de>2014-10-08 23:24:36 +0200
committerM. Dietrich <mdt@emdete.de>2014-10-13 14:08:10 +0200
commita42f0dd3bc08308e4035ce42c7fbc11f1824d329 (patch)
treeb18120fc88e6f1660ce5a61ef0165e928e18420f /src
parent0b05acc50c82d63e0cbe8ec10d0f301fb648f054 (diff)
use setAlpha(float) method, not the depricated one
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/ui/adapter/MessageAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java
index 2671cf50..dbf2184b 100644
--- a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java
+++ b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java
@@ -390,7 +390,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
viewHolder.contact_picture.setImageBitmap(mBitmapCache.get(
item.getConversation().getContact(), getContext()));
- viewHolder.contact_picture.setAlpha(128);
+ viewHolder.contact_picture.setAlpha(0.5f);
viewHolder.contact_picture
.setOnClickListener(new OnClickListener() {