diff --git a/res/layout/notif_priority_conversation_preference.xml b/res/layout/notif_priority_conversation_preference.xml index 981cd693cfc..f68dbdef8ff 100644 --- a/res/layout/notif_priority_conversation_preference.xml +++ b/res/layout/notif_priority_conversation_preference.xml @@ -61,7 +61,7 @@ android:clickable="false" android:focusable="false" android:ellipsize="end" - android:maxLines="2" + android:maxLines="3" android:layout_below="@id/priority_icon" android:textAppearance="@style/TextAppearance.NotificationImportanceDetail" android:visibility="gone" /> @@ -143,7 +143,7 @@ - \ 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/strings.xml b/res/values/strings.xml index 9faceacab4c..812ff86e20e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8301,17 +8301,17 @@ - Notifications on lockscreen + Notifications on lock screen - Show alerting and silent notifications + Show conversations, default, and silent - Show alerting notifications only + Hide silent conversations and notifications - Don\u2019t show notifications + Don\u2019t show any notifications Sensitive notifications @@ -8395,7 +8395,7 @@ Conversation section - Allow %1$s to appear in the conversation section + Allow app to use conversation section "%1$s%2$s" @@ -8434,7 +8434,7 @@ Show at top of conversation section - Modified conversations + Other conversations Conversations you\u2019ve made changes to @@ -8494,7 +8494,7 @@ Silent - Alerting + Default Allow interruptions @@ -8506,9 +8506,9 @@ Priority - Shows at top of conversation section and appears as a bubble + Shows at top of conversation section, appears as floating bubble, displays profile picture on lock screen - %1$s does not support conversation-specific settings. + %1$s doesn\u2019t support most conversation features. You can’t set a conversation as priority, and conversations won’t appear as floating bubbles. @@ -8516,10 +8516,13 @@ In the pull-down shade, collapse notifications to one line - Helps you focus without sound or vibration + No sound or vibration + + + No sound or vibration and appears lower in conversation section - Gets your attention with sound or vibration + May ring or vibrate based on phone settings When device is unlocked, show notifications as a banner across the top of the screen @@ -8850,7 +8853,7 @@ Sound - Important + Priority Add to home 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 + + + + + + + +