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

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


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


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:
Status:
RESOLVED ANSWERED

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: 
https://drive.google.com/file/d/0B03Q49T8SyzzTzN0R1Brek14NnM/view?usp=sharing

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