From a5437e6882bde69cb795ed8d929c1024a8fef16e Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Thu, 5 Nov 2015 14:13:12 -0800 Subject: Call Blocking UI/String change + Adjusted UI/String according to new specifications. + Added class VisualVoicemailEnabledChecker + Block number dialog display different message depending on whether VVM is activated. Bug:25455707 Change-Id: I09425053c91a5517e309302d421beadcc2d81cd4 --- res/drawable/ic_blocked_numbers_settings_add.xml | 20 --------- res/layout/blocked_number_footer.xml | 40 +++++++++++++++++ res/layout/blocked_number_header.xml | 55 ++++++++++++++++++------ res/values/colors.xml | 1 + res/values/strings.xml | 44 ++++++++++++++----- 5 files changed, 116 insertions(+), 44 deletions(-) delete mode 100644 res/drawable/ic_blocked_numbers_settings_add.xml create mode 100644 res/layout/blocked_number_footer.xml (limited to 'res') diff --git a/res/drawable/ic_blocked_numbers_settings_add.xml b/res/drawable/ic_blocked_numbers_settings_add.xml deleted file mode 100644 index adcf90676..000000000 --- a/res/drawable/ic_blocked_numbers_settings_add.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/res/layout/blocked_number_footer.xml b/res/layout/blocked_number_footer.xml new file mode 100644 index 000000000..cdb3ead1b --- /dev/null +++ b/res/layout/blocked_number_footer.xml @@ -0,0 +1,40 @@ + + + + + + + + + + diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index 50a3dc8f2..685c4efd8 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -60,7 +60,7 @@ @@ -105,21 +105,48 @@ - + + + + + + + + + #F44336 @color/dialer_theme_color #616161 + #bdbdbd #616161 diff --git a/res/values/strings.xml b/res/values/strings.xml index 4682b76cc..37b2a5cb4 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -59,7 +59,7 @@ - %1$s added to block list + %1$s blocked Unblock number @@ -67,7 +67,7 @@ %1$s - removed from block list + unblocked UNDO @@ -519,19 +519,31 @@ [CHAR LIMIT=30] --> Voicemail - - Add + + Add %1$s to your block list? + + + Future calls from this number will be blocked and voicemails will be automatically deleted. + + + + + Future calls from this number will be blocked. Voicemails may still reach you. + + - Block number + BLOCK - Remove - %1$s from your block list? + Unblock + %1$s - Unblock number + UNBLOCK @@ -830,7 +842,7 @@ Calls - Blocked numbers + Call blocking @@ -877,8 +889,20 @@ Add number + + + Adding a number blocks all future calls and voicemails will be automatically deleted. + + + + + Adding a number blocks all future calls. Voicemails may still reach you. + + - Block list + Blocked numbers -- cgit v1.2.3