diff --git a/res/layout/notification.xml b/res/layout/notification.xml
index 3b485a23..586e70d1 100644
--- a/res/layout/notification.xml
+++ b/res/layout/notification.xml
@@ -22,15 +22,17 @@ THE SOFTWARE.
-->
+ android:layout_height="fill_parent"
+ android:layout_marginRight="5dip" />
-
+
\ No newline at end of file
diff --git a/res/values/translatable.xml b/res/values/translatable.xml
index 204cfc40..d6a4d376 100644
--- a/res/values/translatable.xml
+++ b/res/values/translatable.xml
@@ -89,6 +89,9 @@ THE SOFTWARE.
Enqueue All
All Songs
+
+ %s (Paused)
+
- 01 second
diff --git a/src/org/kreed/vanilla/PlaybackService.java b/src/org/kreed/vanilla/PlaybackService.java
index e9c751d0..5c3f83be 100644
--- a/src/org/kreed/vanilla/PlaybackService.java
+++ b/src/org/kreed/vanilla/PlaybackService.java
@@ -1396,11 +1396,20 @@ public final class PlaybackService extends Service implements Handler.Callback,
*/
public Notification createNotification(Song song, int state)
{
- int statusIcon = (state & FLAG_PLAYING) != 0 ? R.drawable.status_icon : R.drawable.status_icon_paused;
+ boolean playing = (state & FLAG_PLAYING) != 0;
RemoteViews views = new RemoteViews(getPackageName(), R.layout.notification);
- views.setImageViewResource(R.id.icon, statusIcon);
- views.setTextViewText(R.id.title, song.title);
+
+ if (!Song.mDisableCoverArt && song.hasCover(this)) {
+ views.setImageViewUri(R.id.icon, song.getCoverUri());
+ } else {
+ views.setImageViewResource(R.id.icon, R.drawable.icon);
+ }
+ if (playing) {
+ views.setTextViewText(R.id.title, song.title);
+ } else {
+ views.setTextViewText(R.id.title, getResources().getString(R.string.notification_title_paused, song.title));
+ }
views.setTextViewText(R.id.artist, song.artist);
if (mInvertNotification) {
@@ -1413,7 +1422,7 @@ public final class PlaybackService extends Service implements Handler.Callback,
Notification notification = new Notification();
notification.contentView = views;
- notification.icon = statusIcon;
+ notification.icon = playing ? R.drawable.status_icon : R.drawable.status_icon_paused;
notification.flags |= Notification.FLAG_ONGOING_EVENT;
notification.contentIntent = mNotificationAction;
return notification;