diff options
author | Brian Attwell <brianattwell@google.com> | 2014-11-04 19:04:42 -0800 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-11-05 03:17:49 +0000 |
commit | 2ebade8924bb6d2734b603938f418959cc79e2ad (patch) | |
tree | a3cc58006f25dd89b77f992b8ceb277b5ed3459e /src/com/android/contacts/editor/StructuredNameEditorView.java | |
parent | 043fba637b421dcd554c634f769f0e883fb5ff8b (diff) | |
download | packages_apps_Contacts-2ebade8924bb6d2734b603938f418959cc79e2ad.tar.gz packages_apps_Contacts-2ebade8924bb6d2734b603938f418959cc79e2ad.tar.bz2 packages_apps_Contacts-2ebade8924bb6d2734b603938f418959cc79e2ad.zip |
Editor name fields
The mocks show all name fields collapsed into a single field.
After deeper inspection, this proved to be poor UX. Instead
we show the three name types inside a single name section.
Screenshot: go/ba_screen_captures/contacts/b18004959_edit_screen_material/name_fields.png
Bug: 18004959
Change-Id: Ic06abcd151a64746cce32832b27e8f47ec6b981d
Diffstat (limited to 'src/com/android/contacts/editor/StructuredNameEditorView.java')
-rw-r--r-- | src/com/android/contacts/editor/StructuredNameEditorView.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/contacts/editor/StructuredNameEditorView.java b/src/com/android/contacts/editor/StructuredNameEditorView.java index a607ccaaf..b24f7f149 100644 --- a/src/com/android/contacts/editor/StructuredNameEditorView.java +++ b/src/com/android/contacts/editor/StructuredNameEditorView.java @@ -275,4 +275,12 @@ public class StructuredNameEditorView extends TextFieldsEditorView { return 0; } } + + /** {@inheritDoc} */ + @Override + protected void onFinishInflate() { + super.onFinishInflate(); + // Remove padding below this view. + setPadding(getPaddingLeft(), getPaddingTop(), getPaddingRight(), 0); + } } |