mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-16 14:04:59 -05:00
use setAlpha(float) method, not the depricated one
This commit is contained in:
parent
0b05acc50c
commit
a42f0dd3bc
@ -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() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user