如何在黑莓创建标签栏应用程序的UI ......? [英] how to create Tab bar application ui in blackberry...?

查看:108
本文介绍了如何在黑莓创建标签栏应用程序的UI ......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使标签栏基本应用程序中的应用程序BB.Every屏幕将是具有这种标签,每个标签都会有单独的导航控制器堆栈,所以我们可以很容易地推屏幕。
请帮帮我..
谢谢

how to make tab bar base application in BB.Every screen of the app will be having this tab and each tab will have the seperate Navigation Controller Stack so we can push screens easily. Please help me.. Thanks

推荐答案

您必须使用卧式现场管理,然后添加字段,水平视野Manager创建标签栏则设置管理器作为标题或居留制的屏幕

You have to create tab bar by using Horizontal Field Manage and then add fields to Horizontal Field Manager then set the Manager as title or staus for screen

例如:

HorizontalFieldManager hfm=new HorizontalFieldManager(Field.USE_ALL_WIDTH);

hfm.add(new Button("item1"));
hfm.add(new Button("item2"));
hfm.add(new Button("item3"));

然后

setTitle(hfm); //display at top

setStatus(hfm); //display at bottom

这篇关于如何在黑莓创建标签栏应用程序的UI ......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆