summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorTingting Wang <tingtingw@google.com>2015-07-13 12:52:40 -0700
committerTingting Wang <tingtingw@google.com>2015-07-14 15:16:21 -0700
commitd5b686e73dc50d90fd44dc5c738d243a81a6cc31 (patch)
tree365d80a737f9eab8b480d765c6cf1988f07d9e89 /res
parentf87a924b9dc171a2f02d933692ca80a944363809 (diff)
downloadpackages_apps_Contacts-d5b686e73dc50d90fd44dc5c738d243a81a6cc31.tar.gz
packages_apps_Contacts-d5b686e73dc50d90fd44dc5c738d243a81a6cc31.tar.bz2
packages_apps_Contacts-d5b686e73dc50d90fd44dc5c738d243a81a6cc31.zip
Show phonetic name next to display name in UI.
In Quick contact UI, show phonetic name following its display name if phonetic name exists. BUG 22235947 Change-Id: I0066d2811b207bb36480f1d3c14712573b92a1a0
Diffstat (limited to 'res')
-rw-r--r--res/values/dimens.xml2
-rw-r--r--res/values/strings.xml3
2 files changed, 4 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index b8650e3ab..8b0a07ec9 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -19,7 +19,7 @@
<!-- Initial height of transparent space above QuickContacts -->
<dimen name="quickcontact_starting_empty_height">150dp</dimen>
<!-- Initial size of QuickContact's title size -->
- <dimen name="quickcontact_maximum_title_size">36dp</dimen>
+ <dimen name="quickcontact_maximum_title_size">30dp</dimen>
<!-- When QC is uncollapsed, the title has this much margin on its left, right and bottom -->
<dimen name="quickcontact_title_initial_margin">16dp</dimen>
<!-- The ratio of width:height for the contact's photo in landscape -->
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 936f093a9..bd9e3412d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -767,4 +767,7 @@
<!-- Content description for the compact contact editor photo overlay which, when clicked, shows a dialog with the options for changing the contact photo. [CHAR LIMIT=30] -->
<string name="compact_editor_change_photo_content_description">Change photo</string>
+
+ <!-- Quick contact display name with phonetic name -->
+ <string name="quick_contact_display_name_with_phonetic"><xliff:g id="display_name">%s</xliff:g> (<xliff:g id="phonetic_name">%s</xliff:g>)</string>
</resources>