Write Text On Image And Show It To A Imageview
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.s
Solution 1:
Create an ImageView (if you don't have one in your layout), and use setImageDrawable()
:
ImageViewimage=newImageView(this);
image.setImageDrawable(newBitmapDrawable(mBitmap));
Then add your ImageView to your layout with addView().
Post a Comment for "Write Text On Image And Show It To A Imageview"