Bug 35233 - Context Actions problem after last Android update
Summary: Context Actions problem after last Android update
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.5.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-10-24 02:32 UTC by lorenzogiudici5
Modified: 2016-02-10 19:25 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

The screen where you can see the two toolbars (8.40 KB, image/png)
2015-10-24 02:33 UTC, lorenzogiudici5

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description lorenzogiudici5 2015-10-24 02:32:44 UTC
After I've updated my Android app with last material design suggestions (Marshmallow, Appcompat..), contexts action in listview no more work well.
When i long tap an item, I get an extra grey toolbar at the top of the screen (with the icon of my context action) and the "classic" toolbar is moved below (like in the attached pic)
Comment 1 lorenzogiudici5 2015-10-24 02:33:29 UTC
Created attachment 13517 [details]
The screen where you can see the two toolbars
Comment 2 Paul DiPietro [MSFT] 2015-10-25 14:25:16 UTC
Could you possibly provide a reproduction project displaying this issue?
Comment 3 lorenzogiudici5 2015-10-27 07:08:46 UTC
Here it is: 

Tested on Samsung Galaxy S4 (android 5.0.1)
Tested on Nexus 7 2012 (android 5.0.2)
Comment 4 Paul DiPietro [MSFT] 2016-02-10 19:25:52 UTC
Add the following to your style:

<item name="windowActionModeOverlay">true</item>

See this StackOverflow question for reference: http://stackoverflow.com/questions/26443403/toolbar-and-contextual-actionbar-with-appcompat-v7