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

Commit 0cea50b2 authored by narinder Rana's avatar narinder Rana
Browse files

Update SwitchCompat like Ios

parent d62ed1a4
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
<androidx.gridlayout.widget.GridLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingEnd="16dp"
@@ -37,19 +36,16 @@
        app:layout_gravity="center_vertical"
        app:layout_row="0" />

    <!--android:theme="@style/ThemeOverlay.Control.Accent"

    -->

    <SwitchCompat
    <androidx.appcompat.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"
        app:layout_column="6"
        SwitchCompat:track="@drawable/switch_track_selector"
        android:theme="@style/ThemeOverlay.Control.Accent"
        app:layout_column="6"
        app:layout_columnSpan="2"
        app:layout_gravity="center_vertical"
        app:layout_row="0" />