Android的文本菜单项目大小/高度,如何改变? [英] Android contextmenu item size / height, how to change?
问题描述
我怎样才能改变文本菜单项目的大小?高度?
How can i change the contextmenu item's size? height?
谢谢,
莱斯利
Thanks, Leslie
推荐答案
这不是真的打算进行修改 - 它的存在来处理菜单中的标准方式。有一些方法来修改菜单及其项目(例如在这里看到:<一href=\"http://www.techjini.com/blog/2011/04/19/customizing-background-and-text-color-in-options-menu-android/\" rel=\"nofollow\">http://www.techjini.com/blog/2011/04/19/customizing-background-and-text-color-in-options-menu-android/)但我真的觉得在这种情况下,你是远离原来的菜单的想法......
It's not really intended to be modified - it's there to handle menu in standard way. There are some ways to modify the menu and its items (for example see here: http://www.techjini.com/blog/2011/04/19/customizing-background-and-text-color-in-options-menu-android/) but I really think in this case you are far from the original menu idea...
远远不够简单地创建自己的观点 - 无论你喜欢它是并显示它处理长preSS ..你可以把它嵌入到你自己的透明全屏控制的时候...我认为这将是比修改上下文菜单快得多。
Far enough to simply create your own view - whatever you like it to be and show it when handling long press.. You can make it embedded in your own transparent full screen control... I think it will be much faster than modifying context menu.
这篇关于Android的文本菜单项目大小/高度,如何改变?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!