Add spacing above the compact contact editor name fieldn
Bug 20299277
Change-Id: I6eeb1982fab49dc7e77a68754d9aa09810bb6b7d
diff --git a/res/layout/compact_contact_editor_fields.xml b/res/layout/compact_contact_editor_fields.xml
index f59c5be..1ddd0b1 100644
--- a/res/layout/compact_contact_editor_fields.xml
+++ b/res/layout/compact_contact_editor_fields.xml
@@ -21,6 +21,7 @@
android:id="@+id/names"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/editor_compact_first_field_padding"
android:orientation="vertical"/>
<LinearLayout
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 2214215..b8650e3 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -98,6 +98,9 @@
<!-- Left padding of the label in the add field button for the contact editor -->
<dimen name="editor_add_field_label_left_padding">16dip</dimen>
+ <!-- Top margin for the first field of the compact contact editor -->
+ <dimen name="editor_compact_first_field_padding">10dp</dimen>
+
<!-- Width and height of the expanded contact photo on the contact detail page -->
<dimen name="detail_contact_photo_expanded_size">400dip</dimen>