Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 1992 [details]
When I have a menu that has an item that appears on the actionbar and that item then opens a submenu that has checkable items the submenu always appears in the top left-hand corner. If the screen is then rotated the submenu goes to the proper location.
This has been tried on handhelds (HTC, Samsung), tablets (Assus, Acer), and the emulator with an initial orientation of portrait and landscape. The OS on all these devices is the latest ice cream sandwich.
We have never had a problem with menus that are not checkable.
I've attached an example of the menu that does not work.
Created attachment 2153 [details]
sshot that seems to show it's working.
I couldn't reproduce this issue on API Level 15 x86 emulator with SDK r20. I attached a sshow.
Since the screen pixels (432) are too few to show all the items on the action bar, I shrunk the Resources/menu/menu.xml, and eliminated string/image resources as I don't have them, which is now:
<?xml version="1.0" encoding="utf-8"?>
For others who want to examine this issue, here is what I added to the default application template code:
public override bool OnCreateOptionsMenu (IMenu menu)
MenuInflater inflater = MenuInflater;
inflater.Inflate (Resource.Menu.test, menu);
Closing the bug. If it still reproduce please reopen.