diff --git a/core/res/res/drawable/ic_notification_alert.xml b/core/res/res/drawable/ic_notification_alert.xml new file mode 100644 index 0000000000000..d17dfc1ec8cf4 --- /dev/null +++ b/core/res/res/drawable/ic_notification_alert.xml @@ -0,0 +1,33 @@ + + + + + + + diff --git a/core/res/res/drawable/ic_notification_block.xml b/core/res/res/drawable/ic_notification_block.xml new file mode 100644 index 0000000000000..276907401d5a9 --- /dev/null +++ b/core/res/res/drawable/ic_notification_block.xml @@ -0,0 +1,25 @@ + + + + + diff --git a/packages/SystemUI/res/layout/notification_guts.xml b/packages/SystemUI/res/layout/notification_guts.xml index 071b7c8a6da8c..03451b43b5e2f 100644 --- a/packages/SystemUI/res/layout/notification_guts.xml +++ b/packages/SystemUI/res/layout/notification_guts.xml @@ -25,15 +25,15 @@ android:gravity="top|start" android:orientation="vertical" android:paddingStart="@*android:dimen/notification_content_margin_start" - android:paddingEnd="@*android:dimen/notification_content_margin_end" - android:background="@color/notification_guts_text_color" > + android:paddingEnd="8dp" + android:background="@color/notification_guts_bg_color" > @@ -42,25 +42,21 @@ android:id="@android:id/icon" android:layout_width="18dp" android:layout_height="18dp" - android:layout_marginEnd="3dp" + android:layout_marginEnd="6dp" android:src="@android:drawable/arrow_down_float" /> + android:id="@+id/pkgname" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + style="@style/TextAppearance.NotificationGuts.Header" /> + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/debug_info" + android:layout_weight="0" + style="@style/TextAppearance.NotificationGuts.Header" + android:layout_gravity="bottom|start" + android:visibility="gone" /> + android:paddingBottom="8dip" + android:paddingEnd="8dp" > + android:fadingEdge="horizontal" + android:paddingBottom="2dp"/> + android:minLines="2" + android:paddingBottom="4dp" /> + android:progressBackgroundTint="@color/notification_guts_secondary_slider_color" + android:thumbTint="@color/notification_guts_slider_color" + android:progressTint="@color/notification_guts_slider_color" + style="@android:style/Widget.Material.SeekBar.Discrete" + android:tickMarkTint="@android:color/black" /> @@ -128,19 +128,22 @@ + android:layout_height="wrap_content" > + android:layout_height="48dp" + style="@style/TextAppearance.NotificationGuts.Primary" + android:visibility="gone" + android:buttonTint="#858383" + /> + style="@style/TextAppearance.NotificationGuts.Primary" + android:visibility="gone" + android:buttonTint="#858383" + /> @@ -148,29 +151,30 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end" - android:paddingTop="8dp" - android:paddingBottom="16dp" > + android:paddingBottom="8dp" > diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index 0a56f92e04cda..61c71dd445b91 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -100,10 +100,9 @@ @color/system_accent_color - @*android:color/material_deep_teal_500 - #B2DFDB - #FFFFFFFF - #FFFFFFFF + @*android:color/material_grey_50 + @*android:color/material_deep_teal_500 + #858383 #ffffff diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index 527b6380d2f31..4329f7830c4d3 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -319,10 +319,30 @@ + + + + + + + +