Is there a way either through code or the Lwuit Recourse Editor to stretch 9 part images to prevent repeating? Ideally I would not want to stretch a single pixel but would not be a huge deal if there was not the choice.
Currently: I have made a few border generated 9 part buttons using the Lwuit Resource Editor. After making the Button I noticed that the areas that should stretch are instead being repeated making my gradients look terrible.
Goal:
I am looking to make all my 9 part images (borders, Buttons, etc.) to stretch the Center pieces as references below.
* = Fixed size
- = Stretched
| = Image separation
Current:
* | * | *
* | * | *
* | * | *
Want:
* | - | *
- | - | -
* | - | *
You must take a look at this youtube video.
It helped me a lot to build my own borders to my
Containers. You can download it from the LWUIT repository. Here you can find this project, and its .res, wich will help you a lot building borders to yourComponents.