我想要一个水平场管理器作为一个按钮,改变焦点上的背景图像:

为HorizontalFieldManager设置背景图像,它应该会改变焦点(选择),它应该作为一个按钮来推动一些其他屏幕…
在该HorizontalFieldManager下,我想添加一个图像和标签来显示一些信息……
我希望它与屏幕截图中的一样,没有编辑字段。
发布于 2010-09-10 18:36:37
使用ListField怎么样?你想在列表中使用一个组件还是多个组件?如果单个用户可以移动到您选择的位置,或者开发您的自定义列表域
发布于 2011-06-02 07:41:03
调用类似于以下内容:
getMainManager().setBackground(BackgroundFactory.createLinearGradientBackground(Color.WHITE, Color.GRAY, Color.DIMGRAY, Color.DIMGRAY));若要更改屏幕背景,请执行以下操作。
发布于 2013-04-12 14:32:50
onFocus="this.style.width = '260px'; this.style.background='url(Icalorieimage/account/username_text.png)'"
onBlur="this.style.width = '260px'; this.style.background='url(Icalorieimage/account/username_text.png)' "https://stackoverflow.com/questions/3682704
复制相似问题