Switcher
项目地址:bitvale/Switcher
简介:Android implementation of switch animation from Oleg Frolov
标签:
Created this cool switch animation from Oleg Frolov as an android library.
USAGE
Just add Switcher view in your layout XML and Switcher library in your project via Gradle:
dependencies {
implementation 'com.bitvale:switcher:1.0.0'
}
XML
<com.bitvale.pacbutton.SwitcherX // or SwitcherC
android:id="@+id/switcher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:switcher_on_color="@color/on_color"
app:switcher_off_color="@color/off_color"
app:switcher_icon_color="@color/icon_color" />