回答

2

创建一个扩展了BitmapField的customBitmapField类。重写getPreferredWidth()方法并返回(Display.getWidth()/ 3),以便位图字段占用设备显示的三分之一。您将不得不处理它在小型设备中的外观以及文字可能不适合的情况。

0

您可以使用PillButtonSet组件,您可以在高级UI包中找到它。 请看这里:Advanced UI