Exemple #1
0
        /// <summary>
        /// Gets the Raw screen height of the device (the actual resolution of the device in pixels)
        /// </summary>
        /// <returns></returns>
        public double GetRawScreenHeight()
        {
#if ANDROID
            return(AndroidUtil.GetRawViewAreaHeight(activity.Resources));
#elif IOS
            return(iOSUtil.GetRawViewHeight());
#else
            throw new NotImplementedException();
#endif
        }