diff options
author | Makoto Onuki <omakoto@google.com> | 2012-04-19 15:00:20 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2012-04-19 15:33:08 -0700 |
commit | 5ff2dfcc4aa050d7a062725b562e22c2727167b8 (patch) | |
tree | 3bfa7411498ab27d55cff016dd7a50da36c0dbbf /res/values/colors.xml | |
parent | 07c21e725164f1ceff030cb69f1894c89b3b9450 (diff) | |
download | packages_apps_Contacts-5ff2dfcc4aa050d7a062725b562e22c2727167b8.tar.gz packages_apps_Contacts-5ff2dfcc4aa050d7a062725b562e22c2727167b8.tar.bz2 packages_apps_Contacts-5ff2dfcc4aa050d7a062725b562e22c2727167b8.zip |
Make phone number copyable on call detail
Now the phone number is long-pressable, which starts the CAB
for copying phone number.
Tapping the phone number again while will unselect it. (Or press back or UP.)
Also tweak the highlight area for the phone number view, per UX suggestion.
Now when you press the phone number view, the entire row will be highlighted,
including the SMS action view.
Tested:
- Regular phone number.
- SIP address.
- No-caller ID, or "private number" -> The "Call XXX" view is gone, so
nothing to long-press.
- "Voicemail". The text "Voicemail" will by copied, which is iffy, but I
don't think "fixing" it is worth introducing more complication to the code.
Bug 6354066
Change-Id: I54ee67589a2e5aaba8e4a5dd9589e8c9e46c18b8
Diffstat (limited to 'res/values/colors.xml')
-rw-r--r-- | res/values/colors.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index 48e63e544..cb2b1ca53 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -75,4 +75,8 @@ <!-- Color of image view placeholder. --> <color name="image_placeholder">#DDDDDD</color> + + <!-- Standard color for selected items. --> + <color name="item_selected">#660099cc</color> + </resources> |