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