Hi all This is a mod of the B4XSwitch class in the XUIViews library. I wanted a smaller switch than the default one, and got it by modifying a bit the code. There's a new property called 'Size', with 5 possible values: XS, S, M, L and XL. Default value is M, the original size. Hope you find...
www.b4x.com