summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWalter Jang <wjang@google.com>2015-02-21 01:59:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-21 01:59:38 +0000
commit32d5224bc27068f34caed078baf6644810837a94 (patch)
treeda83c9cdcb08664bbf89e2dfaefa9071f1b6c231 /res
parentd94574a91d3f725c96530c0d1e71d8188a9cbcf6 (diff)
parent1044645b9c2050436f4f0e0c7e5b8da2931879ba (diff)
downloadpackages_apps_Contacts-32d5224bc27068f34caed078baf6644810837a94.tar.gz
packages_apps_Contacts-32d5224bc27068f34caed078baf6644810837a94.tar.bz2
packages_apps_Contacts-32d5224bc27068f34caed078baf6644810837a94.zip
Merge "Hide extra empty kind editor on compact contact editor"
Diffstat (limited to 'res')
-rw-r--r--res/layout/compact_contact_editor_fragment.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/res/layout/compact_contact_editor_fragment.xml b/res/layout/compact_contact_editor_fragment.xml
index ae3eb596d..a61b290ac 100644
--- a/res/layout/compact_contact_editor_fragment.xml
+++ b/res/layout/compact_contact_editor_fragment.xml
@@ -32,8 +32,8 @@
<!-- TODO: remove hard coded dimensions when we have a split screen layout in landscape -->
<com.android.contacts.editor.CompactHeaderView
android:id="@+id/header"
- android:layout_width="@dimen/detail_contact_photo_expanded_size"
- android:layout_height="@dimen/detail_contact_photo_expanded_size"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:orientation="vertical">
@@ -96,12 +96,11 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingEnd="@dimen/expanding_entry_card_item_image_spacing"
+ android:paddingStart="@dimen/expanding_entry_card_item_image_spacing"
android:gravity="center_vertical"
android:paddingBottom="@dimen/expanding_entry_card_button_padding_vertical"
android:paddingTop="@dimen/expanding_entry_card_button_padding_vertical"
android:text="@string/compact_editor_more_fields"
- android:textAlignment="textEnd"
android:textColor="@color/expanding_entry_card_button_text_color"
android:textSize="@dimen/expanding_entry_card_title_text_size" />