I’ve got a action bar displaying but the button I add doesn’t appear. The menu xml file is being inflated when onCreateOptions runs for the QtActivity object. The button can be retrived from the menu and it says it is enabled and visible.
If I store the menu object and look at it after that function call, the button is suddenly missing. After looking at Qt source code I saw the file QtActivityDelegate.java also has the onCreateOptions function. That one calls clear on the menu passed.
This makes me think that is wiping out my menu changes, so I’m curious if anyone else has had this issue and if that is the cause.
↧