summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incallui/CallButtonFragment.java
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-07 11:29:41 -0700
committerAndrew Lee <anwlee@google.com>2014-05-07 12:30:43 -0700
commit70bab107dc2016d5e95d9a09c8479b7ce690ff80 (patch)
treed9e21a9fac63f80c1a0b86456f76f6457ddfb1ce /InCallUI/src/com/android/incallui/CallButtonFragment.java
parentd354f99d0861dfc3909f5a4b407536a248490b39 (diff)
Change selected/unselected states of buttons.
- Add touch feedback (w00t). - Adjust button heights/positions to spec. - Add drawables for the different button states (no longer tabs). - Remove vertical spacers (interfered with touch feedback). Change-Id: I383ca898c8d2fcfc8c34021efc62cb03adbde1c1
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java')
-rw-r--r--InCallUI/src/com/android/incallui/CallButtonFragment.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java
index 2912ecefe..aa2dca784 100644
--- a/InCallUI/src/com/android/incallui/CallButtonFragment.java
+++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java
@@ -50,7 +50,6 @@ public class CallButtonFragment
private ImageButton mAddCallButton;
private ImageButton mSwapButton;
private ImageButton mAuxiliaryActionButton;
- private View mAuxiliaryActionSpacer;
private PopupMenu mAudioModePopup;
private boolean mAudioModePopupVisible;
@@ -133,7 +132,6 @@ public class CallButtonFragment
mSwapButton.setOnClickListener(this);
mAuxiliaryActionButton = (ImageButton) parent.findViewById(R.id.auxiliaryActionButton);
mAuxiliaryActionButton.setOnClickListener(this);
- mAuxiliaryActionSpacer = parent.findViewById(R.id.auxiliaryActionSpacer);
return parent;
}
@@ -522,7 +520,6 @@ public class CallButtonFragment
@Override
public void updateAuxiliaryActionButton(boolean show, String description, Drawable drawable) {
mAuxiliaryActionButton.setVisibility(show ? View.VISIBLE : View.GONE);
- mAuxiliaryActionSpacer.setVisibility(show ? View.VISIBLE : View.GONE);
if (show) {
mAuxiliaryActionButton.setContentDescription(description);
mAuxiliaryActionButton.setImageDrawable(drawable);