I have made a paint app in which i want to draw line with finger move over imageview in xml file. ImageView is used to show an image that can be zoom with finger move.But problem is that when we add bitmap to imageview by using the code
localBitmap = Bitmap.createBitmap(myBitmap.getWidth(), myBitmap.getHeight(),
Config.ARGB_8888);
myCanvas = new Canvas(localBitmap);
mImageView.setImageBitmap(localBitmap);
then we get a black screen.how to resolve this problem so that we can draw line over imageview and retain zoom with imageview. please help me. thanks for any help.