From 72d3c27d6aa7436244a23bad429644649f919ea8 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Thu, 5 Jun 2014 12:04:02 -0400 Subject: [PATCH] Settings: Notification string tweaks. - Sounds & Notifications -> Sound & Notifications - Notification station title -> Notification log - Use dark theme for station to ensure icon is visible, boost all text to theme's primary color. Bug:15435289 Change-Id: I8a3b999a42ad4cb09e190bf887ae854f8a288d40 --- AndroidManifest.xml | 3 +- res/layout/notification_log_row.xml | 4 ++ res/values/strings.xml | 78 ++++++++++++++--------------- 3 files changed, 45 insertions(+), 40 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f16ba342304..a2a0e708e48 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -734,7 +734,8 @@ diff --git a/res/layout/notification_log_row.xml b/res/layout/notification_log_row.xml index 702e6b8c31b..57f5a7949a4 100644 --- a/res/layout/notification_log_row.xml +++ b/res/layout/notification_log_row.xml @@ -51,6 +51,7 @@ android:layout_toEndOf="@android:id/icon" android:ellipsize="end" android:singleLine="true" + android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" android:textAlignment="viewStart" @@ -66,6 +67,7 @@ android:layout_centerVertical="true" android:ellipsize="end" android:singleLine="true" + android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" android:textAlignment="viewEnd" /> @@ -79,6 +81,7 @@ android:layout_marginStart="30dp" android:ellipsize="end" android:singleLine="true" + android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" android:textAlignment="viewStart" /> @@ -109,6 +112,7 @@ android:layout_gravity="left|center_vertical" android:ellipsize="end" android:singleLine="true" + android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" android:textAlignment="viewStart" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 3f4b706a9b4..9685e82f073 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -4101,7 +4101,7 @@ Untitled General - Notifications + Notification log @@ -5067,120 +5067,120 @@ - - Sounds & Notifications + + Sound & Notifications - + Media volume - + Alarm volume - + Ring volume - + Notification volume - + Do not disturb - + When calls and notifications arrive - + When notifications arrive - + Ring - + Vibrate instead of ringing - + Don\'t ring or vibrate - + Phone ringtone - + Default notification ringtone - + Vibrate when ringing - + Showing notifications - + Pulse notification light - + When device is locked - Show all notification content - Hide sensitive notification content - Don\'t show notifications at all - + When do not disturb is on - + Hide new notifications from the list - + Show all notifications in the list - + App notifications - + Other sounds - + Dial pad tones - + Screen locking sounds - + Docking sounds - + Touch sounds - + Vibrate on touch - + Dock speaker plays - + All audio - + Media audio only - + Silent - + Alert - + Vibrate - + Notification access