Aligning secondary action buttons
Bug: 3324531
Change-Id: I187681f25ceb77d64d4b0551d1a9c75dd7925a0e
diff --git a/res/layout-xlarge-land/contact_detail_list_item.xml b/res/layout-xlarge-land/contact_detail_list_item.xml
index 2be4604..ec06c7f 100644
--- a/res/layout-xlarge-land/contact_detail_list_item.xml
+++ b/res/layout-xlarge-land/contact_detail_list_item.xml
@@ -122,11 +122,11 @@
<ImageView
android:id="@+id/secondary_action_button"
- android:layout_width="wrap_content"
+ android:layout_width="30dip"
android:layout_height="match_parent"
android:layout_centerVertical="true"
- android:paddingLeft="14dip"
- android:paddingRight="14dip"
+ android:layout_marginLeft="14dip"
+ android:layout_marginRight="14dip"
android:gravity="center"
android:scaleType="center"
android:background="@android:drawable/list_selector_background"
diff --git a/res/layout/contact_detail_list_item.xml b/res/layout/contact_detail_list_item.xml
index 52744cb..a6097aa 100644
--- a/res/layout/contact_detail_list_item.xml
+++ b/res/layout/contact_detail_list_item.xml
@@ -126,11 +126,11 @@
/>
<ImageView android:id="@+id/secondary_action_button"
- android:layout_width="wrap_content"
+ android:layout_width="30dip"
android:layout_height="match_parent"
android:layout_centerVertical="true"
- android:paddingLeft="14dip"
- android:paddingRight="14dip"
+ android:layout_marginLeft="14dip"
+ android:layout_marginRight="14dip"
android:gravity="center"
android:scaleType="center"
android:background="@android:drawable/list_selector_background"