如何在Android设备屏幕上制作两个可滑动的部分?

发布于 2024-09-16 20:29:21 字数 196 浏览 1 评论 0原文

如何创建具有两个独立部分且每个部分可滑动的自定义视图?示例是 iPad Zillow -> http://www.zillow.com/ipad/

我想知道这是否也可以做到在主屏幕上,而不仅仅是在新应用程序中......

How to create custom view with two independent sections, each slideable? Example would be iPad Zillow -> http://www.zillow.com/ipad/

I was wondering if this can also be done on the home screen and not only in new app...

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

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

发布评论

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

评论(1

叹沉浮 2024-09-23 20:29:21

如何创建具有两个独立部分且每个部分可滑动的自定义视图?

我怀疑这会是 Android 中的“自定义视图”。主要的 Zillow 风格活动是一个 MapView、一个 ListView 和一个 ImageView(用于照片),使用 LinearLayouts< /code> 或用于组织的 RelativeLayout

我想知道这是否也可以在主屏幕上完成,而不仅仅是在新应用程序中......

如果您编写自己的主屏幕,当然可以。

How to create custom view with two independent sections, each slideable?

I doubt that would be a "custom view" in Android. The main Zillow-style activity would be a MapView, a ListView, and an ImageView (for the photo), using LinearLayouts or a RelativeLayout for organization.

I was wondering if this can also be done on the home screen and not only in new app...

If you write your own home screen, sure.

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