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

Update SwitchCompat like Ios

parent d62ed1a4
......@@ -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" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment