summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-15 11:27:39 -0700
committerAndrew Lee <anwlee@google.com>2014-05-15 11:28:15 -0700
commitc4643f77f287725f955f7f5cdd6686877e6b9923 (patch)
treeaa149241030aeb2e0b138bda345b2d307f3f5b06
parent86321098e4d1e00e6a9f32547d4ee10a717ac290 (diff)
Fix button alignment.
Bug: 14900155 Change-Id: I391fa09fe9c31e3cf07c99ccbcb060c083304641
-rw-r--r--src/com/android/dialer/DialtactsActivity.java4
1 files 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);
}
}