Bug 41904 - On MasterDetailPage trying to change Icon of Master page doesn't work for Android
Summary: On MasterDetailPage trying to change Icon of Master page doesn't work for And...
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 42078 ()
Depends on:
Blocks:
 
Reported: 2016-06-16 16:19 UTC by Pablo Biagioli
Modified: 2017-04-12 10:34 UTC (History)
11 users (show)

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

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 for Bug 41904 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Pablo Biagioli 2016-06-16 16:19:16 UTC
Hi,

I currently have Xamarin Studio 6 in a Mac, with all the default setup.

I tried making a default Xamarin.Forms Shared project and doing this:

public partial class App : Application
	{
		public App ()
		{
			InitializeComponent ();
			MainPage = new MasterDetailPage () {
				Master = new ContentPage () { Title = "Hello Master", Icon = new FileImageSource () { File = "icon.png" } },
				Detail = new NavigationPage (new testBurgerPage ())
			};
		}


the "icon.png" is showing perfectly in iOS, but in Android I keep seeing the material design hamburger icon instead.
Comment 1 Samantha Houts [MSFT] 2016-06-24 16:52:26 UTC
*** Bug 42078 has been marked as a duplicate of this bug. ***
Comment 2 Cliff Cawley 2016-07-07 05:34:25 UTC
I've got the same problem, hoping for a quick fix as we've got our release coming up in a couple of weeks!
Comment 3 Prashant Cholachagudda 2016-07-14 08:52:51 UTC
One of the priority customer is hitting this issue as well, you can find the test case at https://github.com/cz4rny/Xamarin-Stubborn-Icon
Comment 4 Cezary Krzyżanowski 2016-07-14 09:44:56 UTC
Android's drawer isn't an easy fix, and the FormAppSupportActivity uses the DrawerLayout apparently. I tried with a custom renderer and finding a way of accessing the ActionBarDrawerToggle but couldn't find it even with reflection and spying on private fields of renderer's internals.

The go to material on the Drawer is here: https://developer.android.com/training/implementing-navigation/nav-drawer.html
Comment 5 Cezary Krzyżanowski 2016-12-12 09:57:47 UTC
Is there a timeframe available for this bug?

5 months have passed. It seems excessive long for "Priority Support".
Comment 6 Steve Richey 2017-01-18 16:49:10 UTC
Can we get an update or workaround for this issue?