ThreadUtils.runOnUiThreadDelayed(new Runnable() {
@Override
public void run() {
View v=findViewById(R.id.test);
v.setDrawingCacheEnabled(true);
ImageUtils.save(v.getDrawingCache(), PathUtils.getInternalAppDataPath()+"/test.png", Bitmap.CompressFormat.PNG);
}
},7000);
网友评论