summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWalter Jang <wjang@google.com>2015-05-04 16:53:14 -0700
committerWalter Jang <wjang@google.com>2015-05-04 16:53:14 -0700
commit7590e66b5f99725674966f98b259affe28a44a72 (patch)
treee4debe348f820ba982dd753e2253ffacccccba0e /res
parent1c06ce7ba10cb95183a704d5835e8005c023f726 (diff)
downloadpackages_apps_Contacts-7590e66b5f99725674966f98b259affe28a44a72.tar.gz
packages_apps_Contacts-7590e66b5f99725674966f98b259affe28a44a72.tar.bz2
packages_apps_Contacts-7590e66b5f99725674966f98b259affe28a44a72.zip
Add spacing above the compact contact editor name fieldn
Bug 20299277 Change-Id: I6eeb1982fab49dc7e77a68754d9aa09810bb6b7d
Diffstat (limited to 'res')
-rw-r--r--res/layout/compact_contact_editor_fields.xml1
-rw-r--r--res/values/dimens.xml3
2 files changed, 4 insertions, 0 deletions
diff --git a/res/layout/compact_contact_editor_fields.xml b/res/layout/compact_contact_editor_fields.xml
index f59c5be30..1ddd0b151 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 221421547..b8650e3ab 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>