diff --git a/res/layout/notification_expanded.xml b/res/layout/notification_expanded.xml index 92c20a15..e19a364e 100644 --- a/res/layout/notification_expanded.xml +++ b/res/layout/notification_expanded.xml @@ -19,110 +19,112 @@ along with this program. If not, see . android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center_vertical" - android:orientation="vertical"> + android:orientation="horizontal"> + + - - + android:layout_height="match_parent" + android:orientation="vertical"> - - - + android:orientation="horizontal"> + + + + + + + - + + android:orientation="horizontal"> + + + + + - - - - - - - - - - diff --git a/src/ch/blinkenlights/android/vanilla/PlaybackService.java b/src/ch/blinkenlights/android/vanilla/PlaybackService.java index c1f78f05..e779856d 100644 --- a/src/ch/blinkenlights/android/vanilla/PlaybackService.java +++ b/src/ch/blinkenlights/android/vanilla/PlaybackService.java @@ -1880,7 +1880,9 @@ public final class PlaybackService extends Service notification.flags |= Notification.FLAG_ONGOING_EVENT; notification.contentIntent = mNotificationAction; if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { - notification.bigContentView = expanded; // expanded view is available since 4.1 + // expanded view is available since 4.1 + notification.bigContentView = expanded; + notification.priority = 42; } return notification; }