屏幕区域的获取: activity.getWindowManager().getDefaultDisplay(); 应用区域的获取: Rect outRect = new Rect(); activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(outRect); view图形绘制区域的获取: Rect outRect = new Rect(); activity.getWindow().findViewById(Windo…