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 14574 [details]
The context menu displays differently when MainActivity inherits from FormsAppCompatActivity versus FormsApplicationActivity.
Description from reporting customer:
"When using FormsAppCompatActivity, with a Toolbar, we are experiencing an
unwanted behavior. The Context Menu is shown above the toolbar. The Status
bar (blue colored strip) is also shown below the context menu.
To see an example, in the XForms demo app, please navigate to the Default
Page and long click a list view item.
To see how it used to look (preferred behavior), please add ISOLDSTYLE to
the build conditional compilation symbols.
Please advise how to resolve the issue with FormsAppCompatActivity."
## Steps to reproduce
1. Open the attached test project in Visual Studio (I could not get this test project to run in Xamarin Studio on Mac, caused the emulator to crash, but worked fine in VS with the Microsoft Android emulator)
2. Launch the test project to an emulator (I used the VS Emulator 7" Lollipop (5.1.1) XHDPI Tablet)
3. Open the Master menu and select "Default Page"
4. Long click on a list item.
Expected result: Main view does not move and context menu replaces action bar.
Actual result: Main view, status bar (blue band), and action bar slide down a bit and the context menu is placed above the Action bar.
Note: to see the expected result, uncomment line 1, `#define ISOLDSTYLE`, of MainActivity.cs in the Android project.
Screenshot of difference: http://screencast.com/t/TrRzQDnuDL
Forms version 220.127.116.1190
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Installed Version: Professional
Visual Basic 2015 00322-40000-00000-AA850
Microsoft Visual Basic 2015
Visual C# 2015 00322-40000-00000-AA850
Microsoft Visual C# 2015
Visual C++ 2015 00322-40000-00000-AA850
Microsoft Visual C++ 2015
Visual F# 2015 RC 00322-40000-00000-AA850
Microsoft Visual F# 2015 RC
Windows Phone SDK 8.0 - ENU 00322-40000-00000-AA850
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 14.0.20626.0
ASP.NET and Web Tools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Generates unit test code for methods in classes under test.
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools
Visual Studio Tools for Universal Windows Apps 14.0.23309.00 d14oob
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Xamarin 18.104.22.1687 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 22.214.171.124 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 126.96.36.199 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
Created attachment 15524 [details]
Please make sure this is in your style:
Turns out the docs were missing it in the guide and this causes this issue.