B4J Library [BAX] [XUI] xui_Switch (Class with source code)

I saw that someone had trouble creating a simple Switch in XUI. So I wanted to give an example.
No need to do reverse engineering I have source code.
It is a xCustomView and therefore should be used with the Design.


xui_Swicth: Star-Dust

Proprieties:
Value As Boolean
Method
setSwitchBitmap (Img As B4XBitmap, State As Boolean)
upload_2018-11-7_14-4-3.png

PS I expressly consent to use, modify and improve this code within the own App, without having to mention the original developer (me) to recognize any compensation in any form except the Like in this Forum :p
 

Attachments

  • xui_switch.zip
    8.8 KB · Views: 459
Last edited:
Top