summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2014-11-11 18:30:05 -0800
committerBrian Attwell <brianattwell@google.com>2014-11-12 03:30:18 +0000
commitda71919dcd16754cb378fc664967f4b278431c70 (patch)
tree1b5a6a7b8c40c446c5418000f72dd3a62afd3178 /res/values
parent5daa38f7d4d6ec2f548be0dc45b47a080f5dadd4 (diff)
downloadpackages_apps_Contacts-da71919dcd16754cb378fc664967f4b278431c70.tar.gz
packages_apps_Contacts-da71919dcd16754cb378fc664967f4b278431c70.tar.bz2
packages_apps_Contacts-da71919dcd16754cb378fc664967f4b278431c70.zip
Material design readonly editor
The readonly edit screen is a strange beast. At most, it only shows fields for phones, emails, photos and names even if more data is available. This CL updates the appearance of these fields. Bug: 18004959 Change-Id: I25847483cef36bb4c98f4b169970344b90e63add
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml3
-rw-r--r--res/values/strings.xml6
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index df01b1a0a..1a77057e8 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -37,6 +37,9 @@
<!-- Minimum height of a row in the Editor -->
<dimen name="editor_min_line_item_height">48dip</dimen>
+ <!-- Width of the delete button (X) in the raw contact editor -->
+ <dimen name="editor_delete_button_width">48dp</dimen>
+
<!-- The height and width of the delete button should be the same size as an editor row -->
<dimen name="editor_delete_button_size">@dimen/editor_min_line_item_height</dimen>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 0ce47866b..d0aebf667 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -708,6 +708,12 @@
<string name="header_event_entry">Event</string>
<!-- Header for the Relation entry [CHAR LIMIT=40] -->
<string name="header_relation_entry">Relation</string>
+ <!-- Content description for the name fields header entry [CHAR LIMIT=NONE] -->
+ <string name="header_name_entry">Name section</string>
+ <!-- Content description for the email fields header entry [CHAR LIMIT=NONE] -->
+ <string name="header_email_entry">Email section</string>
+ <!-- Content description for the phone fields header entry [CHAR LIMIT=NONE] -->
+ <string name="header_phone_entry">Phone section</string>
<!-- Content description for directions secondary button [CHAR LIMIT=NONE] -->
<string name="content_description_directions">directions to location</string>