Hi all,
i am currently working on converting text to bit map in android
please help me on this code iam unable to fine where the error is
i am doing with following code
Bitmap testB;
testB = Bitmap.createBitmap(
edittext.getHeight(),
edittext.getWidth(),
Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(testB);
edittext.layout(0, 0, edittext.getHeight(),
edittext.getWidth());
c.drawText("0", 0, 0, paint);
imview.setImageBitmap(testB);
Thanks,
Naveen.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en