I'm trying to hide the bar from hamburger menu, and just preserve the icon button like Uber App.
I have a default master page detail structure, and i tried multiple solutions :
1 - in App.xaml
<ResourceDictionary>
<Style TargetType="NavigationPage">
<Setter Property="BarBackgroundColor" Value="Transparent"/>
<Setter Property="BarTextColor" Value="Red"/>
</Style>
</ResourceDictionary>
2 - A MasterDetailPageRenderer
public class CustomMasterDetailRenderer : MasterDetailPageRenderer
{
public CustomMasterDetailRenderer(Android.Content.Context context):base(context)
{
}
protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
{
base.OnLayout(changed, left, top, right, bottom);
var toolbar = FindViewById<Android.Support.V7.Widget.Toolbar>(Resource.Id.toolbar);
if (toolbar != null)
{
toolbar.SetBackgroundColor(Android.Graphics.Color.Argb(0, 0, 0, 0));
}
}
}
Unfortunately, got this as result :