Code example for Picture

Methods: drawgetHeightgetWidth

	private Bitmap getBitmapOfWebView(final WebView webView){
		Picture picture = webView.capturePicture();
		Bitmap b = Bitmap.createBitmap( picture.getWidth(), picture.getHeight(), Bitmap.Config.ARGB_8888);
		Canvas c = new Canvas(b);
		return b;
	 * Returns a bitmap of a given View. 
	 * @param view the view to save a bitmap from 
	 * @return a bitmap of the given view 
	private Bitmap getBitmapOfView(final View view){
Experience pair programming with AI  Get Codota for Java