diff --git a/app/src/main/java/com/kabouzeid/materialmusic/helper/NotificationHelper.java b/app/src/main/java/com/kabouzeid/materialmusic/helper/NotificationHelper.java
index 910609b8..c7147480 100644
--- a/app/src/main/java/com/kabouzeid/materialmusic/helper/NotificationHelper.java
+++ b/app/src/main/java/com/kabouzeid/materialmusic/helper/NotificationHelper.java
@@ -74,11 +74,11 @@ public class NotificationHelper {
return;
}
if (notificationLayout != null) {
- notificationLayout.setImageViewResource(R.id.button_toggle_playpause,
+ notificationLayout.setImageViewResource(R.id.button_toggle_play_pause,
isPlaying ? R.drawable.ic_pause_white_48dp : R.drawable.ic_play_arrow_white_48dp);
}
if (notificationLayoutExpanded != null) {
- notificationLayoutExpanded.setImageViewResource(R.id.button_toggle_playpause,
+ notificationLayoutExpanded.setImageViewResource(R.id.button_toggle_play_pause,
isPlaying ? R.drawable.ic_pause_white_48dp : R.drawable.ic_play_arrow_white_48dp);
}
notificationManager.notify(NOTIFICATION_ID, notification);
@@ -93,7 +93,7 @@ public class NotificationHelper {
}
private void setUpExpandedPlaybackActions(boolean isPlaying) {
- notificationLayoutExpanded.setOnClickPendingIntent(R.id.button_toggle_playpause,
+ notificationLayoutExpanded.setOnClickPendingIntent(R.id.button_toggle_play_pause,
retrievePlaybackActions(1));
notificationLayoutExpanded.setOnClickPendingIntent(R.id.button_next,
@@ -105,12 +105,12 @@ public class NotificationHelper {
notificationLayoutExpanded.setOnClickPendingIntent(R.id.button_quit,
retrievePlaybackActions(4));
- notificationLayoutExpanded.setImageViewResource(R.id.button_toggle_playpause,
+ notificationLayoutExpanded.setImageViewResource(R.id.button_toggle_play_pause,
isPlaying ? R.drawable.ic_pause_white_48dp : R.drawable.ic_play_arrow_white_48dp);
}
private void setUpPlaybackActions(boolean isPlaying) {
- notificationLayout.setOnClickPendingIntent(R.id.button_toggle_playpause,
+ notificationLayout.setOnClickPendingIntent(R.id.button_toggle_play_pause,
retrievePlaybackActions(1));
notificationLayout.setOnClickPendingIntent(R.id.button_next,
@@ -119,7 +119,7 @@ public class NotificationHelper {
notificationLayout.setOnClickPendingIntent(R.id.button_quit,
retrievePlaybackActions(4));
- notificationLayout.setImageViewResource(R.id.button_toggle_playpause,
+ notificationLayout.setImageViewResource(R.id.button_toggle_play_pause,
isPlaying ? R.drawable.ic_pause_white_48dp : R.drawable.ic_play_arrow_white_48dp);
}
diff --git a/app/src/main/res/layout-v21/notification_playing.xml b/app/src/main/res/layout-v21/notification_playing.xml
index aeb95fee..8aec043f 100644
--- a/app/src/main/res/layout-v21/notification_playing.xml
+++ b/app/src/main/res/layout-v21/notification_playing.xml
@@ -36,29 +36,29 @@
/>
+ android:orientation="vertical"
+ android:paddingBottom="@dimen/notification_info_container_padding_bottom"
+ android:paddingLeft="@dimen/notification_info_container_padding_left">
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="@style/Theme.MaterialMusic.Notification.Title"/>
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="@style/Theme.MaterialMusic.Notification"/>
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:src="@drawable/ic_skip_next_white_48dp"
+ />
diff --git a/app/src/main/res/layout-v21/notification_playing_expanded.xml b/app/src/main/res/layout-v21/notification_playing_expanded.xml
index 837c5f5c..0f11f095 100644
--- a/app/src/main/res/layout-v21/notification_playing_expanded.xml
+++ b/app/src/main/res/layout-v21/notification_playing_expanded.xml
@@ -87,17 +87,20 @@
diff --git a/app/src/main/res/layout/notification_playing.xml b/app/src/main/res/layout/notification_playing.xml
index cf365141..36380f5c 100644
--- a/app/src/main/res/layout/notification_playing.xml
+++ b/app/src/main/res/layout/notification_playing.xml
@@ -36,30 +36,30 @@
/>
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="@style/Theme.MaterialMusic.Notification.Title"/>
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="@style/Theme.MaterialMusic.Notification"/>
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:src="@drawable/ic_skip_next_white_48dp"
+ />
diff --git a/app/src/main/res/layout/notification_playing_expanded.xml b/app/src/main/res/layout/notification_playing_expanded.xml
index abb038bc..e8be7613 100644
--- a/app/src/main/res/layout/notification_playing_expanded.xml
+++ b/app/src/main/res/layout/notification_playing_expanded.xml
@@ -86,17 +86,20 @@
diff --git a/app/src/main/res/values-v21/styles.xml b/app/src/main/res/values-v21/styles.xml
index 936acdda..c8871642 100644
--- a/app/src/main/res/values-v21/styles.xml
+++ b/app/src/main/res/values-v21/styles.xml
@@ -19,5 +19,6 @@
diff --git a/app/src/main/res/values/styles_parents.xml b/app/src/main/res/values/styles_parents.xml
index 6c3fb8fc..588c2af0 100644
--- a/app/src/main/res/values/styles_parents.xml
+++ b/app/src/main/res/values/styles_parents.xml
@@ -60,9 +60,7 @@
- wrap_content
- match_parent
- fitCenter
- - 8dp
- center
- 1
- - @color/notification_buttons_tint
\ No newline at end of file