button with icon and title

556 Views Asked by At

in my screen , i want to create/add button with an icon and under this icon i want to write the title of this button

like this picture

1

There are 1 best solutions below

0
On BEST ANSWER

Create a custom Field.

For instance, here is an idea of what to do. Your bitmap could alreay contain a label, or to have a String label freely "assignable" to this button you can extend that example (by adding the code to draw the label in paint(Graphics graphics), check the API of Graphics - it is possible to write a text on it).