1

我现在正在将一个 iPad 应用程序移植到 Android 平板电脑上,它使用了很多 UIPopoverViewController。我尝试创建一个“布局”以全屏显示在前面,并带有一个小的内容视图,效果很好,但我想知道这种功能是否有原生元素。谢谢你的时间。

4

2 回答 2

5

为了帮助解决这个问题,我创建了一个类似于弹出视图的组件。一定要检查出来:)

https://github.com/lupidan/PopoverView 截屏

于 2012-06-21T09:01:39.513 回答
3

我认为您在 Android 中要求 QuickActionController。而且我认为 Android 中没有可用的本机元素。但是下面的示例仍然使用带有一些动画的弹出对话框来使其看起来像 popoverviewController,这是一个开始的示例,

http://www.edumobile.org/android/android-apps/quick-action-demo/

http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/

在此处输入图像描述

于 2012-06-15T12:57:41.607 回答