开发者

Command in LWUIT

开发者 https://www.devze.com 2023-04-04 22:52 出处:网络
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开发者_开发百科amp

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

精彩评论

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

关注公众号