mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 07:49:28 +00:00
Fix potential size issue
This commit is contained in:
parent
33e301fb22
commit
ac96c8f4d0
@ -71,7 +71,8 @@ public class ConversationsListAdapter extends ArrayAdapter<ConversationsInfo> {
|
||||
|
||||
//Set drawable associated with TextView (if required = unread conversation)
|
||||
Drawable drawable = UiUtils.getDrawable(getContext(), R.drawable.ic_circle);
|
||||
drawable.setBounds(0, 0, 16, 16);
|
||||
drawable.setBounds(0, 0, UiUtils.GetPixel(getContext(), 10),
|
||||
UiUtils.GetPixel(getContext(), 10));
|
||||
conversationName.setCompoundDrawables(
|
||||
infos.hasSaw_last_message() ? null :
|
||||
drawable,
|
||||
|
Loading…
Reference in New Issue
Block a user