View轉Bitmap

    1、View顯示在界面上可以使用如下方法:            private Bitmap getBitmapByCash(View view){ view.setDrawingCacheEnabled(true); view.buildDrawingCache(); //啓用DrawingCache並創建位圖 Bitmap bitmap = Bitmap.cr
相關文章
相關標籤/搜索