Skip to content

Instantly share code, notes, and snippets.

@molidev8
Last active December 7, 2022 18:29
Show Gist options
  • Save molidev8/c01e141f0f97e3b9546c3d84aadc435e to your computer and use it in GitHub Desktop.
Save molidev8/c01e141f0f97e3b9546c3d84aadc435e to your computer and use it in GitHub Desktop.
Using a custom view
<com.molidev8.customswitchsamples.view.customSwitch.CustomSwitch
android:id="@+id/myCustomSwitch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:anim_text="true"
app:manual="true"
app:text="Bluetooth"
app:switch_type="pill"
app:textVisible="true" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment