Loading res/layout/switch_bar.xml +0 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:background="@null" android:theme="@style/ThemeOverlay.SwitchBar.Settings" /> </merge> Loading src/com/android/settings/widget/SwitchBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
res/layout/switch_bar.xml +0 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:background="@null" android:theme="@style/ThemeOverlay.SwitchBar.Settings" /> </merge> Loading
src/com/android/settings/widget/SwitchBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -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 Loading