什么是2.2版Android开关小部件的最佳后端?

问题描述 投票:7回答:2

我正在寻找2.2的Android开关小部件的稳定backport。 请推荐您正在使用的开源库。

android
2个回答
7
投票

https://github.com/BoD/android-switch-backport

要么

https://github.com/pellucide/Android-Switch-Demo-pre-4.0/tree/master/android-switch-demo

有几个简单的选择。

我还发现将SeekBar子类化为获得所需效果相对简单(非常类似于iOS开关)。


1
投票

我更喜欢这个这个 。 我认为第二个比你想象的要多得多,并且如果你选择它,请记得安装Maven。

© www.soinside.com 2019 - 2024. All rights reserved.