如何在 Android 中创建滑块屏幕(如 Tweetdeck 中)?

发布于 2024-10-02 05:43:56 字数 211 浏览 0 评论 0原文

我们想要创建一个应该具有不同列表视图的屏幕,并且用户可以滑动(向左或向右)查看另一个列表视图(就像在 TweetDeck 和某些 Android 操作系统版本的主屏幕中一样)。还有一个点列表,用于标识有多少列表视图。

请参阅屏幕截图。 alt text

提前致谢, 阿夫扎尔。

We want to create a screen which should have different list views and the user can slide (Left or right) to view another list view (just like in TweetDeck and in home screen on some Android OS version). There is also a list of dots which identify how many list views are there.

Please refer to the screen shot.
alt text

Thanks in advance,
Afzal.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

相对绾红妆 2024-10-09 05:43:56

找到了:
http://code.google.com/p/deezapps-widgets/

工作方式类似于一种魅力。

谢谢。

Found it:
http://code.google.com/p/deezapps-widgets/

Works like a charm.

Thank you.

最冷一天 2024-10-09 05:43:56

事实上这个控件叫做ViewPager,现在Android已经支持了。您可以检查兼容性包名称 android-support-v4.jar。

一些带有指示器的不错的 ViewPager 示例是:

P/s:查看我的应用程序:Android UI 模式 (https ://market.android.com/details?id=com.groidify.uipatterns)以获得更多漂亮的 UI 模式。

In fact this control called ViewPager, now is supported by Android. You can check a compatibility package name android-support-v4.jar.

Some nice ViewPager samples with indicator is:

P/s: Checkout my app: Android UI Patterns (https://market.android.com/details?id=com.groidify.uipatterns) for more nice UI Patterns.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文