Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a774086 authored by Jiaquan He's avatar Jiaquan He
Browse files

Show the highlight for the wifi toggle switch.

To make wifi settings more keyboard friendly, we need to show the
highlight for the toggle switch when it has the focus.

Bug: 32087448

Change-Id: I4a71ad295f7b2c37a4eb141a6281de6934b072fd
parent 7c16338c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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>
+0 −1
Original line number Diff line number Diff line
@@ -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