示例#1
0
        private int computeUsableHeight()
        {
            var r = new Rect();

            mChildOfContent.GetWindowVisibleDisplayFrame(r);

            return(Build.VERSION.SdkInt < BuildVersionCodes.Lollipop ? r.Bottom - r.Top : r.Bottom);
        }