Forum Xamarin Xamarin.Android

Using Xamarin Forms (PCL): Need Hamburger icon and centered Logo in action bar

Used a customer renderer to accomplish this in IOS but having trouble finding a solution. The app currently uses master/detail format with the hamburger icon in the action bar for the slide out menu. The log by default was right up against the hamburger logo but I added the code to set the icon to transparent. I have been looking at styles and axml but haven't been able to get it to work with Xamarin forms. Can anyone point me to a solution to manage the action bar...Please!

public class MainActivity : Xamarin.Forms.Platform.Android.FormsApplicationActivity
{

    protected override void OnCreate(Bundle bundle)
    {
        base.OnCreate(bundle);

        Xamarin.Forms.Forms.Init(this, bundle);
        LoadApplication(new App());

        ActionBar.SetIcon(Android.Resource.Color.Transparent);

    }
}
Sign In or Register to comment.