Merge pull request #543 from emdete/dedepricate

use setAlpha(float) method, not the deprecated one
This commit is contained in:
Daniel Gultsch 2014-10-13 18:15:51 +02:00
commit 7e373bc89f

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() {