简体   繁体   中英

J2ME ProgressBar

I want to make progressbar as seen in Gmail J2ME app

what should be done to make this??

Have you looked at Gauge ? , here is an example of it

To combine the previous two answers, you could use the J2ME Polish library. This allows you to code as if you were using MIDP elements (such as Gauge), but allows you to customise how it looks.

http://www.j2mepolish.org/

I haven't seen the Gmail J2ME app, but I bet it doesn't use a Gauge . J2ME apps usually used canvas-based UIs rather than form-based, because they're prettier. A progress bar can be drawn using images (if you have a full progress bar image, you can paint as much of it as you need by using the Graphics.setClip() function). Or you can use graphics primitives.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM