与Android的图标弹出菜单(类似于谷歌地图应用程序第6版) [英] Android pop-up menu with icons (similar to Google Map app version 6)

查看:149
本文介绍了与Android的图标弹出菜单(类似于谷歌地图应用程序第6版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道什么成分用于菜单中的谷歌地图的在Android官方应用程序的新版本6?

Does anyone know what component is used for the menu in the new version 6 of Google Map’s official app on Android?

我试图建立类似的菜单,找不到官方开发页面(注意:我针对姜饼的API,可能高达1.6向后兼容)什么

I’m trying to build a menu similar to that, couldn’t find anything in the official dev pages (Note: I’m targeting Gingerbread APIs, possibly with backward compatibility up to 1.6.)

下面是我发现这个菜单的唯一画面(这是在ICS,但类似的东西显示在姜饼)。请看看左边的屏幕截图在这里(从<一个href="http://www.gizmodo.co.uk/2011/11/google-maps-6-0-for-android-updates-with-indoor-maps-and-places-homescreen/"相对=nofollow> Gizmodo的网站):

Here is the only picture I found of this menu (this is on ICS, but something similar is displayed on Gingerbread). Please have a look at the left screenshot here (from the Gizmodo site):

如果没有内置组件,你会遵循什么方法来建立一个?

If there’s no built-in component, what approach would you follow to build one?

在最坏的情况,如果没有这样的成分存在于Android 2.X,你知道的谷歌地图应用程序本身是否是开源的,以及在哪里找到它的来源?

At worst, if no such component exist for Android 2.x, do you know whether the Google Map application itself is open-source, and where to find its source?

推荐答案

只要看看下面的链接。有快速行动dialog.So的一个很好的例子,你可以修改$ C $下任何你想要的。

Just look into following link. There is an good examples of Quick Action dialog.So you can modify the code for whatever you want.

http://www.londatiga.net /它/多么到创造 - quickaction-对话功能于安卓/

这篇关于与Android的图标弹出菜单(类似于谷歌地图应用程序第6版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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