幻灯切换为Android幻灯、Android

由网友(太酷不给撩)分享简介:任何人都知道的幻灯片切换为Android任何开源实现。默认的Andr​​oid切换(切换按钮)不是pretty的。我在寻找什么类似的iOS。我应该能够实现一个从头开始。但是,如果类似的话已经是可用的,那么我可以建立在其上。在此先感谢精彩的计算器社区。EDIT1:我的意思iOS的幻灯片切换是UISwitch EDIT2:...

任何人都知道的幻灯片切换为Android任何开源实现。默认的Andr​​oid切换(切换按钮)不是pretty的。我在寻找什么类似的iOS。我应该能够实现一个从头开始。但是,如果类似的话已经是可用的,那么我可以建立在其上。

在此先感谢精彩的计算器社区。

EDIT1:   我的意思iOS的幻灯片切换是UISwitch

EDIT2:只是要总结的答案。 Commonsware提供的线索。我结束了从4.0 to2.2.2移植回来的的开关的code。由于采用开源的code,后面的移植也不是很困难的。在code托管在git的枢纽。 http://github.com/pellucide/Android-Switch-Demo-$p$p-4.0/tree/master/

从该项目的屏幕截图   

解决方案

的iOS似乎并没有产生幻灯片切换,至少在该名称的基础上,谷歌搜索。而且,你没有提供你想要的东西的图像(或链接到的图像)。

的Andr​​oid 4.0增加了一个 开关 你也许能够反向移植到较早版本。你会看到它的样品中的API演示应用程序在你的模拟器:

Anyone know of any open source implementation of a slide toggle for android. The default android toggle(ToggleButton) is not pretty. I am looking for anything similar to iOS. I should be able to implement one from scratch. But if anything similar is already available, then i can build on it.

Thanks in advance to the wonderful stackoverflow community.

Android多线程高级使用PPT

Edit1: What I meant by iOS Slide Toggle is UISwitch

Edit2: Just want to summarize the answer. Commonsware provided the clue. I ended up back porting the Switch code from 4.0 to2.2.2. Thanks to the open-sourced code, back porting was not very difficult. The code is hosted on git hub. http://github.com/pellucide/Android-Switch-Demo-pre-4.0/tree/master/

A screenshot from that project

解决方案

iOS does not seem to have a "slide toggle", at least under that name, based on a Google search. And, you did not provide an image (or a link to an image) of what you want.

Android 4.0 added a Switch that you might be able to backport to earlier versions. You will see samples of it in the API Demos app on your emulator:

阅读全文

相关推荐

最新文章