diff --git a/res/layout/notification_history.xml b/res/layout/notification_history.xml index a97afb66eee..b3308c5ffb0 100644 --- a/res/layout/notification_history.xml +++ b/res/layout/notification_history.xml @@ -19,8 +19,7 @@ xmlns:settings="http://schemas.android.com/apk/res-auto" android:id="@+id/scroll" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@*android:color/material_grey_50"> + android:layout_height="match_parent"> + android:background="@drawable/rounded_bg"> notifications) { + // summaries are low content; don't bother showing them + for (int i = notifications.size() - 1; i >= 0; i--) { + StatusBarNotification sbn = notifications.get(i); + if (sbn.isGroup() && sbn.getNotification().isGroupSummary()) { + notifications.remove(i); + } + } mValues = notifications; notifyDataSetChanged(); }