aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-10-13 18:15:51 +0200
committerDaniel Gultsch <daniel@gultsch.de>2014-10-13 18:15:51 +0200
commit7e373bc89fd11cf214fb435f25063d77cc2c48ae (patch)
tree623de84af4f6d96447e9c7f3ccc0ca5e34d5b260 /src
parente11d316f137cbd960c63e23603fffd02c83d0998 (diff)
parenta42f0dd3bc08308e4035ce42c7fbc11f1824d329 (diff)
Merge pull request #543 from emdete/dedepricate
use setAlpha(float) method, not the deprecated 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() {