diff --git a/res/layout/notification_history.xml b/res/layout/notification_history.xml index 3d6edd59cec..3cbe0364374 100644 --- a/res/layout/notification_history.xml +++ b/res/layout/notification_history.xml @@ -136,12 +136,12 @@ android:layout_width="wrap_content" android:text="@string/notification_history_snooze" android:textColor="?android:attr/textColorPrimary" - android:textAppearance="?android:attr/textAppearanceMedium" + android:textAppearance="@style/TextAppearance.HomepageCardTitle" android:paddingBottom="16dp" /> - \ No newline at end of file diff --git a/res/layout/notification_history_app_layout.xml b/res/layout/notification_history_app_layout.xml index e8d33166c9d..a1b3be79082 100644 --- a/res/layout/notification_history_app_layout.xml +++ b/res/layout/notification_history_app_layout.xml @@ -78,6 +78,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:clipChildren="true" + android:clipToPadding="true" android:importantForAccessibility="yes" android:scrollbars="none"/> diff --git a/res/layout/notification_history_log_row.xml b/res/layout/notification_history_log_row.xml index ab5e29d4ff0..4f45fecd0ae 100644 --- a/res/layout/notification_history_log_row.xml +++ b/res/layout/notification_history_log_row.xml @@ -17,12 +17,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="48dp" - android:paddingBottom="6dp" - android:paddingTop="6dp" + android:paddingTop="16dp" + android:paddingBottom="16dp" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:orientation="vertical" - android:background="?android:attr/selectableItemBackground"> + android:background="?android:attr/colorBackgroundFloating" + android:foreground="?android:attr/selectableItemBackground"> @@ -64,7 +65,7 @@ android:layout_centerVertical="true" android:ellipsize="end" android:singleLine="true" - android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification" + android:textAppearance="@style/TextAppearance.NotificationHistory.AppName" android:textAlignment="viewEnd" /> @@ -77,7 +78,7 @@ android:ellipsize="end" android:singleLine="true" android:paddingTop="3dp" - android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification" + android:textAppearance="@style/TextAppearance.NotificationHistory.Text" android:textAlignment="viewStart" /> diff --git a/res/layout/notification_sbn_log_row.xml b/res/layout/notification_sbn_log_row.xml index 049e940532c..a5b8dd0fde7 100644 --- a/res/layout/notification_sbn_log_row.xml +++ b/res/layout/notification_sbn_log_row.xml @@ -16,18 +16,17 @@ - + + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:orientation="vertical"> @@ -107,7 +105,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:layout_marginStart="30dp" android:layout_marginBottom="6dp" > @@ -118,7 +115,7 @@ android:layout_gravity="left|center_vertical" android:ellipsize="end" android:singleLine="true" - android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" + android:textAppearance="@style/TextAppearance.NotificationHistory.Title" android:textAlignment="viewStart" /> @@ -129,7 +126,7 @@ android:layout_gravity="left|center_vertical" android:ellipsize="end" android:singleLine="true" - android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification" + android:textAppearance="@style/TextAppearance.NotificationHistory.Text" android:textAlignment="viewStart" /> @@ -140,6 +137,5 @@ android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="0.5dp" - android:layout_marginTop="17dp" android:background="@color/material_grey_300" /> \ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml index 98f340c49ed..2fd0afbfa62 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -334,6 +334,24 @@ 8dp + + + + + + + +