BaseViewRect GetBaseViewRect(Xamarin.Forms.View baseView) { int statusHeight = GetStatusHeight(); var baseViewNative = baseView.ConvertFormsToNative(); var sc = new int[2]; baseViewNative.GetLocationInWindow(sc); return(new BaseViewRect(sc[0], sc[1] - statusHeight, baseViewNative.Width, baseViewNative.Height)); }