一个页面鳍控制 - 像Android主屏幕 [英] A page flipper control - like the android home screens

查看:137
本文介绍了一个页面鳍控制 - 像Android主屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道的库或方法,我可以用它来模拟的方式在Android homescreens工作?

Anyone know of a library or method I can use to emulate the way the Android homescreens work?

我的意思是这样的:

有一个控制,将采取任何数量的子视图。那只能说明这些观点在时间中的一个,但是,当用户拖动他们的手指在屏幕上,它会切换到下一个或previous认为,这取决于哪种方式,用户拖动手指。

A control that will take any number of sub-Views. It will only show one of those Views at a time, however, when the user drags their finger over the screen, it'll switch to the next or previous view, depending on which way the user dragged their finger.

我已经看到了一些例子(SwipeGestureListener想到),但他们没有在我喜欢的方式工作。它们要求一个划动手势的,这意味着小部件不移动,除非有一个实际的滑动。出于这个原因,它是不容易显而易见的是,页是可切换使用此方法

I've seen a few examples (SwipeGestureListener comes to mind), but they don't work in the way I'd like. They require a swipe gesture, which means the widget doesn't move unless there is an actual swipe. For this reason, it's not readily obvious that the pages are switchable using this method.

任何信息将是巨大的。

推荐答案

这可能是你所需要的<一个href="http://$c$c.google.com/p/deezapps-widgets/">http://$c$c.google.com/p/deezapps-widgets/.

试图使用它在我的一个项目,但并没有与列表视图带有渐变作为背景很好地工作。

Tried to use it in a project of mine but didn't work well with ListViews with a gradient as the background.

这篇关于一个页面鳍控制 - 像Android主屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆