Merge pull request #543 from emdete/dedepricate
use setAlpha(float) method, not the deprecated one
This commit is contained in:
commit
7e373bc89f
|
@ -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 a new issue