OSDN Git Service

Fix up photo editing, and few other tweaks to contact editing.
authorJeff Hamilton <jham@android.com>
Fri, 9 Oct 2009 00:46:26 +0000 (19:46 -0500)
committerJeff Hamilton <jham@android.com>
Fri, 9 Oct 2009 04:33:58 +0000 (23:33 -0500)
commit753b74fd68a610cc30d1c7aa851aba58983ac566
tree27e084570cf1e5da4438ba099581d7f11c8e58b8
parentbbaf565e69b9d074c9ef4713e032dda7b7cdacaf
Fix up photo editing, and few other tweaks to contact editing.

- When tapping a photo you're given a choice to replace, remove, or use as primary
- Fix an issue where the secondary group would show when it shouldn't
- Tweak the size of the color bar per Chris
- Format phone numbers when typing them
- Fix a display issue with contacts that didn't fill the height of the screen
- If a contact is read-only and doesn't have a photo don't offer the option to add one

Bugs: 2163109 & 2163519
Change-Id: I700622d9dfdbcaa81e5b577fd5b2a38d708374aa
res/layout/item_contact_editor.xml
res/values-es-rUS/strings.xml
res/values/strings.xml
src/com/android/contacts/ui/EditContactActivity.java
src/com/android/contacts/ui/widget/ContactEditorView.java
src/com/android/contacts/ui/widget/GenericEditorView.java
src/com/android/contacts/ui/widget/PhotoEditorView.java