XUI Controls (b4a, b4i, b4j) - Tested on an old android 4.4 500mb phone with great performance.
- XUIImageButton
- XUIImageToggleButton
- XUIAutoresizeLabel
- XUIOptionSwitch
This classes handle the label and image sizes, plus handle the spaces and margins.
Image: the filename to be loaded from the resources
Image orientation:
- LEFT: classic on the left, its have an
- CENTER: the same than left but on the center
- BOTTOM: the image are top of the label, both are centered
Label orientation:
- LEFT
- CENTER
- RIGHT
Events:
- CLICK
- Pressed Color
- Delay from base to pressed color
- Pressed Color
- IsPressed (propety)
- PressedImageFileName: the filename of the image to be loaded from the resources when its pressed.
- Auto Resize