java me - J2ME LWUIT Menubar three Softbuttons and Style -
i'm using lwuit-current java me on nokia s40 phones.
i'd imitate style as possible default look.
i discovered, there's commandbehavior
native gives default menubar
, nice.
1.) i'm using three buttons , show them time - not 1 button + options button, possible? see http://img194.imageshack.us/img194/8877/menubarx.jpg
i tried display.getinstance().setthirdsoftbutton(true);
still have empty unused third button.
the softbuttons added via form.addcommand(buttonname);
2.) native softbuttons layout gives me additional title program line + clock; see screenshot. can title removed or changed lwuit?
thanks in advance.
using native menus not work 3 softbutton mode since native menus forfeit control lwuit has on ui underlying os. 3 softbutton mode requires deep knowledge of ui , lwuit has no midp api communicate knowledge device. native title bar appearing in top of screen part of devices ui can no longer control.
furthermore, lwuit's (and nokia's) 3 softbutton mode highly focus based doesn't make sense in touch based ui focus should have little or no meaning. why suggest don't turn on 3 softbutton mode.
you can style lwuit use theme similar native theme, in order have 3 buttons in bar @ bottom of screen need subclass , replace menubar class setting menu bar class in lookandfeel (which via uimanager singleton).
Comments
Post a Comment