屏幕截图

作者: leap_ | 来源:发表于2019-07-17 11:11 被阅读0次
            Bitmap mScreenshot;
            View activityView = getWindow().getDecorView();
            activityView.setDrawingCacheEnabled(true);
            activityView.destroyDrawingCache();
            activityView.buildDrawingCache();
            mScreenshot = activityView.getDrawingCache();
    

    相关文章

      网友评论

        本文标题:屏幕截图

        本文链接:https://www.haomeiwen.com/subject/axfqlctx.html