Lwuit 命令组件
我想在 LWUIT
表单的页脚中的单行中添加 2 个以上的 Commands
,假设我想在单行中添加“后退”、“选择”和“退出”命令。我怎样才能做到这一点?
T want to add more than 2 Commands
in a single row in the Footer in LWUIT
Form, suppose I want to add Back, Select and Exit Command in a single row. How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用此
Display.getInstance().setThirdSoftButton(true);
请参阅此 LWUIT 中的命令< /a>
Use this
Display.getInstance().setThirdSoftButton(true);
See this Command in LWUIT
您可以在 midlet 中设置 Display.getInstance().setThirdSoftButton(true) 。默认 lwuit 列表默认在列表项上添加选择,因此,如果您使用 lwuit 列表,一旦启用第三个软键,甚至不需要添加选择命令。
You can set Display.getInstance().setThirdSoftButton(true) in your midlet. The default lwuit list adds select by default on your list item so if you are using a lwuit list even adding select command is not required once you have enabled the thirdsoftkey.