在Android的自定义菜单 [英] Custom menu in android

查看:141
本文介绍了在Android的自定义菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能建立这种类型的机器人的菜单?

Is it possible to create a menu of this type in android?

推荐答案

不容易。这是专门为featurephones J2ME的风格,2键菜单。

Not easily. That is specifically the J2ME style, 2-key menu for featurephones.

您可以创建自己的动作条式的景观,将有2个按键和轻点按钮会弹出一个对话框;那么你会定位对话的窗口,所以它看起来像。但是它必须是手工做的很坦率地说将是一个痛苦去看看pretty和会如此不同,任何的Andr​​oid用户界面的标准,我是pretty确保您不会要做到这一点。

You COULD create your own ActionBar-style View that would have 2 buttons and tapping the button would bring up a Dialog; you would then position the Dialog's window so it looks like that. However it would have to be manually done and quite frankly would be a pain to get to look pretty and would be so different from any of the Android user-interface standards that I'm pretty sure you don't want to do that.

这篇关于在Android的自定义菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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