I had an issue in removing the extra left space in title view as shown in the image below please see the screenshot here
Ps: I'm using tabbed page and that bar is the navigation title view.
I had an issue in removing the extra left space in title view as shown in the image below please see the screenshot here
Ps: I'm using tabbed page and that bar is the navigation title view.
Nick Kovalsky
On
Another solution without customizing the xml layout is for those who already created a IShellToolbarAppearanceTracker subclassing ShellToolbarAppearanceTracker :
public override void SetAppearance(Toolbar toolbar, IShellToolbarTracker toolbarTracker, ShellAppearance appearance)
{
base.SetAppearance(toolbar, toolbarTracker, appearance);
toolbar.SetContentInsetsAbsolute(0,0);
}
The native problem is discussed here:
Set the xml below in your
Toolbar.xmlof Android part.Do not forget to add the namespace of app in your
Toolbar.xaml.And check the code below, it need to be added in
MainActivity.cs.Usage: