Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个可以发布两种问题的应用程序。要切换视图,我需要顶部的切换按钮。我需要帮助来自定义我的开关按钮,如下图所示。
我在下面的 gihub 库中使用了这种类型的按钮
https://github.com/kyleduo/SwitchButton
优势: