简体   繁体   English

当选择了操作栏中的其他菜单项时,需要单击“溢出菜单项”两次

[英]Need to click Overflow Menu Item twice when other menu item in Action bar is selected

I am using Action bar and having menu items implemented using Action Provider. 我正在使用操作栏,并使用操作提供程序来实现菜单项。 Clicking on menu item shows Popup Spinner. 单击菜单项显示弹出微调框。 Now when any Menu item is clicked and Popup screen is ON and that time - If Overflow menu item is clicked then it doesn't show menu items under Overflow list (I need to click once again to get Overflow menu items). 现在,当单击任何菜单项并且“弹出”屏幕处于打开状态时,此时-如果单击了溢出菜单项,那么它不会在“溢出”列表下显示菜单项(我需要再次单击以获取“溢出”菜单项)。 Is this known issue? 这是已知问题吗? Is there any workaround for this? 有什么解决方法吗?

Is this known issue? 这是已知问题吗?

It's known. 它被称为。 It is not an issue. 这不是问题。 The drop-down for list navigation (what I presume the "Popup Spinner" is) has the focus. 列表导航的下拉菜单(我认为是“ Popup Spinner”是)具有焦点。 It takes a tap outside of the drop-down, anywhere in the activity, to dismiss the drop-down. 需要在下拉菜单外部(活动中的任意位置)轻按才能关闭下拉菜单。

This is not significantly different than the behavior of a Spinner anywhere else in Android. 这与Android中其他任何地方的Spinner行为没有明显不同。 For example, edit a contact, and tap on the Spinner to change a phone number type (eg, mobile vs. home vs. work). 例如,编辑联系人,然后点击Spinner按钮以更改电话号码类型(例如,移动电话,家庭电话或公司电话)。 It takes a tap anywhere else to dismiss the drop-down list, before a tap will have any other meaning. 在点击具有其他含义之前,需要在其他任何地方进行点击才能消除下拉列表。

Is there any workaround for this? 有什么解决方法吗?

Do not use list navigation or other Spinners in your app. 不要在应用中使用列表导航或其他Spinners

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM