Merge "Show the highlight for the wifi toggle switch."

This commit is contained in:
Jiaquan He
2016-12-08 18:56:42 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 2 deletions

View File

@@ -117,7 +117,6 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
lp = (MarginLayoutParams) mSwitch.getLayoutParams();
lp.setMarginEnd(switchBarMarginEnd);
setBackgroundColor(switchBarBackgroundColor);
mSwitch.setBackgroundColor(switchBarBackgroundColor);
addOnSwitchChangeListener(new OnSwitchChangeListener() {
@Override