将 ListView 样式设置为标准 ContextMenu
我想知道默认的 ContextMenu 样式是在哪里定义的......复制/使用它!
我的应用程序中有几个 ListView,使用提供的 TexView 布局 android.R.layout.simple_list_item_1。与 ContextMenu(白色背景)等默认列表相比,我的列表看起来很奇怪(黑色背景)。
因此,如果您知道它在哪里,或者如何使我的 ListView 具有“标准”样式,我会很高兴知道它;)
谢谢 乔
I am wondering where the default ContextMenu style is defined... to copy/use it!
I have few ListView in my app, using the provided TexView layout android.R.layout.simple_list_item_1. My listings are looking odd (black background) compare to the default ones like the ContextMenu (white background).
So if you know where it is, or how to make my ListView having a "standard" style, I would be glad to know about it ;)
Thanks
jo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为上下文菜单看起来与常规选项菜单相同。这些菜单项的布局可在以下位置找到:
I think the Context Menus look identical to the regular Options Menu. And those menu items are setup with a layout found at: