diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-10-13 18:15:51 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-10-13 18:15:51 +0200 |
commit | 7e373bc89fd11cf214fb435f25063d77cc2c48ae (patch) | |
tree | 623de84af4f6d96447e9c7f3ccc0ca5e34d5b260 | |
parent | e11d316f137cbd960c63e23603fffd02c83d0998 (diff) | |
parent | a42f0dd3bc08308e4035ce42c7fbc11f1824d329 (diff) |
Merge pull request #543 from emdete/dedepricate
use setAlpha(float) method, not the deprecated one
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
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() { |