From c4643f77f287725f955f7f5cdd6686877e6b9923 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 15 May 2014 11:27:39 -0700 Subject: Fix button alignment. Bug: 14900155 Change-Id: I391fa09fe9c31e3cf07c99ccbcb060c083304641 --- src/com/android/dialer/DialtactsActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index ea1f60c01..571787577 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -1010,12 +1010,12 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O mFloatingActionButton.setImageResource(R.drawable.fab_ic_call); mFloatingActionButton.setContentDescription( getResources().getString(R.string.description_dial_button)); - alignFloatingActionButtonByTab(mCurrentTabPosition); + alignFloatingActionButtonMiddle(); } else { mFloatingActionButton.setImageResource(R.drawable.fab_ic_dial); mFloatingActionButton.setContentDescription( getResources().getString(R.string.action_menu_dialpad_button)); - alignFloatingActionButtonMiddle(); + alignFloatingActionButtonByTab(mCurrentTabPosition); } } -- cgit v1.2.3