Skip to content

Commit

Permalink
Add speech bubble as status bar notification icon
Browse files Browse the repository at this point in the history
The bubble was derived from the status icons.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
  • Loading branch information
jan-kiszka authored and ge0rg committed Mar 30, 2012
1 parent ceda075 commit b702826
Show file tree
Hide file tree
Showing 5 changed files with 372 additions and 1 deletion.
371 changes: 371 additions & 0 deletions asset-graphics/sb_message.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/sb_message.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/sb_message.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/sb_message.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/org/yaxim/androidclient/service/GenericService.java
Expand Up @@ -141,7 +141,7 @@ private void setNotification(String fromJid, String fromUserId, String message)
author = fromUserId; author = fromUserId;
} }
String title = getString(R.string.notification_message, author); String title = getString(R.string.notification_message, author);
mNotification = new Notification(R.drawable.icon, title, mNotification = new Notification(R.drawable.sb_message, title,
System.currentTimeMillis()); System.currentTimeMillis());
Uri userNameUri = Uri.parse(fromJid); Uri userNameUri = Uri.parse(fromJid);
mNotificationIntent.setData(userNameUri); mNotificationIntent.setData(userNameUri);
Expand Down

0 comments on commit b702826

Please sign in to comment.