Reputation: 13535
i write text on a picture with this code :
Bitmap mBitmap = BitmapFactory.decodeResource(getResources(),R.drawable.file);
Canvas g = new Canvas(mBitmap);
Paint p = new Paint();
p.setColor(Color.BLACK);
p.setAntiAlias(true);
g.drawText("Text", 10, 10, p);
How can i show result in a imageview ?
thanks
Upvotes: 2
Views: 1788