You need to react on the event of pressing a key.
net.rim.device.api.ui.component.ButtonField[
^] has a method for
keyUp event[
] for this.
On that event you need to place the image some pixels to the corresponding side and update the view.
But as always take one step at a time:
- first try to display the image
- try to place image at different places
- try to react on button
- set image to new place on button event