java 安卓封面流

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/725496/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 13:31:03  来源:igfitidea点击:

Android coverflow

javaandroidmobilecoverflow

提问by Alexander Stolz

I'm writing an application for android and would like to have an ituneslike coverflow preview. Is there anything in the api that I can use or do I have to build it from scratch?

我正在为 android 编写一个应用程序,并希望有一个itunes类似的 Coverflow 预览。我可以使用 api 中的任何内容还是必须从头开始构建它?

采纳答案by sooniln

There is no built-in coverflow widget, the closest thing is probably the Gallerywidget. Still I'd be surprised if someone hadn't tried something of the sort yet, and you might find some code floating around the internet. Google has some mentions of coverflow on Android, though I haven't checked it out in any detail.

没有内置的 Coverflow 小部件,最接近的可能是Gallery小部件。如果有人还没有尝试过类似的东西,我仍然会感到惊讶,而且您可能会发现一些代码在互联网上流传。谷歌在 Android 上提到了一些 Coverflow,但我还没有详细检查过。

回答by taf

I've created a basic coverflow widget it can be found here:

我创建了一个基本的 Coverflow 小部件,可以在这里找到:

http://www.inter-fuser.com/2010/01/android-coverflow-widget.html

http://www.inter-fuser.com/2010/01/android-coverflow-widget.html

回答by andy boot

This is not provided by default however there is:

这不是默认提供的,但是有:

http://code.google.com/p/android-coverflow/

http://code.google.com/p/android-coverflow/

回答by Romain Piel

For latest versions (3.1+) of the sdk there is a sample provided during Google I/O 2 years ago. It shows a 3D coverflow which could be an alternative to a coverflow. (It's widely used in apps like Google Music and News app).

对于 sdk 的最新版本 (3.1+),在 2 年前的 Google I/O 期间提供了一个示例。它显示了一个 3D 覆盖流,它可以作为覆盖流的替代方案。(它广泛用于 Google 音乐和新闻应用等应用中)。

Demo here.

演示在这里

Source code here.

源代码在这里

回答by snapix

I made a coverflow widget from scratch. It doesn't use any deprecated components. You can find it here: http://applm.github.io/ma-components/

我从头开始制作了一个 Coverflow 小部件。它不使用任何已弃用的组件。你可以在这里找到它:http: //applm.github.io/ma-components/