A MaterialToggle is like switch and this looks like IOS toggle button. And you can find screenshot below to know how it looks.
It has following attributes:
-- icon_1
-- icon_2
-- stroke_width
-- stroke_color
-- bg_color
-- hightlight_color
example :
<com.vky.materialtoggle.MaterialToggle
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:icon_1="@android:drawable/ic_lock_idle_alarm"
app:icon_2="@android:drawable/btn_star_big_on"
app:stroke_width="3dp"
app:stroke_color="@color/colorAccent"
app:bg_color="@android:color/white"/>
##Steps:
1)Download .aar file here
2)In Android Studio Add as new module check docs here