我将如何在黑莓中制作此类列表?
我想做这种类型的定制列表。
我有那个红色图像&我必须在该红色图像上匹配当前月份接下来的 5 个日期在那附近我想添加四个文本。我随身带着该列表的白色背景图片。 如何在黑莓上做到这一点。请帮助我......
I want to make this type of customized list .
I have that red color image & i have to fit coming next 5 date n current month on that red image & near to that i want to add four text. I have that white background image of that list with me .
how to do it in blackberry.Please help me ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用“创建自定义列表字段 - 滚动时更改突出显示颜色< /a>”,来自 berrytutorials 博客,了解如何创建
listField
。在drawListRow
方法中,您可以获取图形对象并根据需要绘制列表行。使用
graphics.drawText()
来绘制文本,graphics.drawBitmap()
来绘制图像等。You can use "Create a Custom Listfield - Change Highlight Color when Scrolling" from the berrytutorials blog to learn how to create a
listField
. In thedrawListRow
method you can get the graphics object and draw the list row as you want.Use
graphics.drawText()
to draw text ,graphics.drawBitmap()
to draw images etc.