summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-03-12 10:01:29 -0700
committerTyler Gunn <tgunn@google.com>2014-03-17 22:28:33 +0000
commit74af8088198942332c175f8d89af8c4396a3d50b (patch)
tree12b2860088b08c17b946d00ff6440a8066e696ba
parent21ed6cb1577d3a0bcda2a223c21eaec508d12ceb (diff)
Corrected issue where history icon placement does not match spec. DO NOT MERGE
XML only change to layout and dimens. Bug: 13422202 Change-Id: I79b0559ab8000f7d5a82182c202a6979a5648cb5 (cherry picked from commit 66106e0c945fade2b41dcfd2b0746477b87ecf09)
-rw-r--r--res/layout/call_log_list_item.xml6
-rw-r--r--res/values/dimens.xml4
2 files changed, 3 insertions, 7 deletions
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml
index e39b41314..e17dc279b 100644
--- a/res/layout/call_log_list_item.xml
+++ b/res/layout/call_log_list_item.xml
@@ -147,12 +147,8 @@
<!-- The secondary action button; either play voicemail or call details. -->
<ImageButton
android:id="@+id/secondary_action_icon"
- android:layout_width="match_parent"
+ android:layout_width="fill_parent"
android:layout_height="match_parent"
- android:paddingStart="@dimen/call_log_inner_margin"
- android:paddingTop="@dimen/call_log_inner_margin"
- android:paddingBottom="@dimen/call_log_inner_margin"
- android:paddingEnd="@dimen/call_log_inner_margin"
android:scaleType="center"
android:background="?android:attr/selectableItemBackground"
android:nextFocusLeft="@id/primary_action_view"
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index e3f2188b0..f0e36bc2e 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -27,7 +27,7 @@
<!-- Call Log -->
<dimen name="call_log_call_action_size">32dip</dimen>
- <dimen name="call_log_call_action_width">48dip</dimen>
+ <dimen name="call_log_call_action_width">54dp</dimen>
<dimen name="call_log_icon_margin">4dip</dimen>
<dimen name="call_log_inner_margin">8dip</dimen>
<dimen name="call_log_outer_margin">8dip</dimen>
@@ -38,7 +38,7 @@
<dimen name="call_detail_button_spacing">2dip</dimen>
<!-- Defines the vertical margin for the vertical separator between
the main area of a call log entry and the secondary action button. -->
- <dimen name="call_log_list_item_vertical_divider_margin">8dp</dimen>
+ <dimen name="call_log_list_item_vertical_divider_margin">17dp</dimen>
<!-- Defines the width of the vertical separator between
the main area of a call log entry and the secondary action button. -->