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

Commit bbe49110 authored by narinder Rana's avatar narinder Rana
Browse files

Update SwitchCompat like Ios

parent 39318a54
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -38,19 +38,18 @@
        app:layout_row="0" />

    <!--android:theme="@style/ThemeOverlay.Control.Accent"
    SwitchCompat:track="@drawable/switch_track_selector"

    -->
    <androidx.appcompat.widget.SwitchCompat

    <android.support.v7.widget.SwitchCompat
        android:id="@+id/onoff"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/alarm_clock_vertical_margin"
        android:minHeight="@dimen/touch_target_min_size"
        android:minWidth="@dimen/touch_target_min_size"

        android:thumb="@drawable/thumb_selector"
        SwitchCompat:track="@drawable/track_selector"
        app:layout_column="6"
        SwitchCompat:track="@drawable/switch_track_selector"
        app:layout_columnSpan="2"
        app:layout_gravity="center_vertical"
        app:layout_row="0" />