diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-05 14:10:35 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-05-05 14:11:28 -0700 |
commit | fdfeaaf4e5ae0277a03529e501eb1c562f769851 (patch) | |
tree | bcc7f5c25666f9f9ba0afe852832cceec37264fb /src/com/android/dialer/dialpad/DialpadFragment.java | |
parent | 7ea6420e790c4206f4cfa44ff22604536cebd5f7 (diff) |
Change FAB icon and behavior for contacts tab.
+ Change the icon/behavior depending on the tab position.
+ Move current tab position logic from DialtactsActivity into the
lists fragment.
- Delete unused method, shift some helpers around.
Bug: 19366434
Change-Id: I6da767300907b3afd006248afb882bebde7bdfe6
Diffstat (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java')
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index d8b507eaa..6a66eb388 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -399,7 +399,7 @@ public class DialpadFragment extends Fragment final View floatingActionButtonContainer = fragmentView.findViewById(R.id.dialpad_floating_action_button_container); - final View floatingActionButton = + final ImageButton floatingActionButton = (ImageButton) fragmentView.findViewById(R.id.dialpad_floating_action_button); floatingActionButton.setOnClickListener(this); mFloatingActionButtonController = new FloatingActionButtonController(getActivity(), |