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

Commit 00704fa6 authored by chihtinglo's avatar chihtinglo
Browse files

Style panel with Material designs (5/n)

The following components are styled to follow Material signs in this
modification:
1. Switch
   - Aligning the style of switch to the style used in SystemUI components.

Bug: 257272333
Test: manual - attach videos with the bug
Change-Id: I3de887b00c4a4db24b2763aa8a42bd2844f46bae
parent 4d778077
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -130,13 +130,19 @@
            android:layout_weight="1"
            android:singleLine="true"
            android:text="@string/accessibility_allow_diagonal_scrolling"
            android:textAppearance="@style/TextAppearance.MagnificationSetting.Title" />
            android:textAppearance="@style/TextAppearance.MagnificationSetting.Title"
            android:layout_gravity="center_vertical" />

        <Switch
            android:id="@+id/magnifier_horizontal_lock_switch"
            android:layout_width="wrap_content"
            android:switchMinWidth="@dimen/settingslib_switch_track_width"
            android:layout_gravity="right|center_vertical"
            android:layout_width="@dimen/settingslib_switch_track_width"
            android:layout_height="wrap_content"
            android:layout_gravity="right" />
            android:track="@drawable/settingslib_track_selector"
            android:thumb="@drawable/settingslib_thumb_selector"
            android:theme="@style/MainSwitch.Settingslib"/>

    </LinearLayout>

    <TextView