Nov 7, 2018 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 BooleanMethod setSwitchBitmap (Img As B4XBitmap, State As Boolean) 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 Attachments xui_switch.zip xui_switch.zip 8.8 KB · Views: 838 Last edited: Nov 7, 2018 Click to expand...
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 BooleanMethod setSwitchBitmap (Img As B4XBitmap, State As Boolean) 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