use setAlpha(float) method, not the depricated one

This commit is contained in:
M. Dietrich 2014-10-08 23:24:36 +02:00
parent 0b05acc50c
commit a42f0dd3bc

View File

@ -390,7 +390,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
viewHolder.contact_picture.setImageBitmap(mBitmapCache.get( viewHolder.contact_picture.setImageBitmap(mBitmapCache.get(
item.getConversation().getContact(), getContext())); item.getConversation().getContact(), getContext()));
viewHolder.contact_picture.setAlpha(128); viewHolder.contact_picture.setAlpha(0.5f);
viewHolder.contact_picture viewHolder.contact_picture
.setOnClickListener(new OnClickListener() { .setOnClickListener(new OnClickListener() {