can someone tell me how to edit the value for MasterBounds in XF-MasterDetailPage. My changes have no effect (MasterDetailPageRenderer/Android):
protected override void OnLayout(bool changed, int l, int t, int r, int b)
{
base.OnLayout(changed, l, t, r, b);
if (page != null && page.MasterBehavior == MasterBehavior.Split)
{
if (((IMasterDetailPageController)page).MasterBounds.Y > 0)
{
Rectangle rect = ((IMasterDetailPageController)page).MasterBounds;
rect.Y = 0;
((IMasterDetailPageController)page).MasterBounds = rect;
}
}
}
I need to do this, because the value for Y is wrong on some Devices, so there is a bit of space at the top.
Thanks!