开发者

Command in LWUIT

How to add more than 2 command in a single row in at the Footer in lwuit Form ,suppose I want to add Back,Select,and Exit Command in a single row,how can I do that? Help with some ex开发者_开发百科ample.


Use Display.getInstance().setThirdSoftButton(true); for showing three softbutton's.


You can also write your_Form.setDefaultCommand(the_command_in_the_middle);


I noticed that setting commandBehaviour to SoftKey in the resource editor makes all your commands align on one side, typical blackberry behaviour, works on nokia also. It is a property of one of the constants of the theme in the resource editor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜