Draw string on the center of the header image

370 views Asked by At

I am creating a login screen and I want to add an header to the form and write text on the center of the header image.

I am able to draw the header using ImageItem in j2me. But I am stuck up with writing the text on the header.

1

There are 1 answers

3
Mr. Sajid Shaikh On BEST ANSWER

Its better to use canvas for your purpose. In canvas you can add image and also you can draw string anywhere on canvas. Use canvas to done string on the center of the header image. check this url for example of image so you can understand how to use it.