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

Update SwitchCompat like Ios

parent 39318a54
......@@ -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" />
......
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