/// <summary> /// Gets the screen height of the device adjusted for DPI /// </summary> /// <returns></returns> public double GetScreenHeight() { #if ANDROID return(AndroidUtil.GetViewAreaHeight(activity.Resources)); #elif IOS return(iOSUtil.GetRawViewHeight()); #else throw new NotImplementedException(); #endif }