黑莓开发UI [英] Blackberry development UI

查看:175
本文介绍了黑莓开发UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新黑莓开发,我想我的口Android应用到BB,但我发现它不会有可能为BB 7开发。所以我决定创建一个简单的应用程序。不过,我有与mainscreen的问题,我不知道如何在模拟器应用程序启动时调用bitmapbuttons布局。任何教程将AP preciated。

I am new to Blackberry dev, I want to port my android app to BB, but I found out it wont be possible for BB 7 Dev. So I've decided to create a simple app. However, I am having problems with the mainscreen, I do not know how to invoke the bitmapbuttons layout at app startup in the emulator. Any tutorials will be appreciated.

推荐答案

GridFieldManager会做这种布局你的,但我使用它有问题,所以我总是最后使用TablelayoutManager code,你可以找到在这篇文章中:

GridFieldManager will do this sort of layout for you, but I have problems using it, so I always end up using the TablelayoutManager code that you can find in this article:

<一个href=\"http://supportforums.blackberry.com/t5/Java-Development/Create-a-rich-UI-layout-with-TableLayoutManager/ta-p/445299\"相对=nofollow>创建-一个丰富的UI布局与 - TableLayoutManager / TA-P / 445299

您想把他们作为在布局按钮图像。有没有BB提供的类要做到这一点,但很多样本,如果你搜索使用类似图像按钮的术语,比如这个:

You will want to put images that act as Buttons in the layout. There is no BB supplied class to do this, but plenty of samples if you search using a term like "image button", for example this one:

<一个href=\"http://stackoverflow.com/questions/2912223/image-button-in-blackberry\">image-button-in-blackberry

这篇关于黑莓开发UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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