aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ShareWithActivity.java
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2014-04-13 20:41:06 +0200
committerAndreas Straub <andy@strb.org>2014-04-13 21:13:37 +0200
commit901ce085a7df579b9c8c402b8af59a7ce7233044 (patch)
treedfd92ceacdfff6855eb95cc58571be1b424a104f /src/eu/siacs/conversations/ui/ShareWithActivity.java
parent084ab51b1d7625cdf1cca4cc6a31715acffe5ce7 (diff)
Major Contact Picture code cleanup
Notifications now have pseudotransparent icons, icons are generated in the correct size.
Diffstat (limited to 'src/eu/siacs/conversations/ui/ShareWithActivity.java')
-rw-r--r--src/eu/siacs/conversations/ui/ShareWithActivity.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ShareWithActivity.java b/src/eu/siacs/conversations/ui/ShareWithActivity.java
index 3a630485..1bc9fc46 100644
--- a/src/eu/siacs/conversations/ui/ShareWithActivity.java
+++ b/src/eu/siacs/conversations/ui/ShareWithActivity.java
@@ -83,7 +83,8 @@ public class ShareWithActivity extends XmppActivity {
for(final Conversation conversation : convList) {
View view = createContactView(conversation.getName(useSubject),
conversation.getLatestMessage().getBody().trim(),
- UIHelper.getContactPicture(conversation, 90,this.getApplicationContext()));
+ UIHelper.getContactPicture(conversation, 48,
+ this.getApplicationContext(), false));
view.setOnClickListener(new OnClickListener() {
@Override
@@ -118,7 +119,7 @@ public class ShareWithActivity extends XmppActivity {
for(int i = 0; i < contactsList.size(); ++i) {
final Contact con = contactsList.get(i);
View view = createContactView(con.getDisplayName(), con.getJid(),
- UIHelper.getContactPicture(con, 90, this.getApplicationContext()));
+ UIHelper.getContactPicture(con, 48, this.getApplicationContext(), false));
view.setOnClickListener(new OnClickListener() {
@Override