Moved to the questions forum. Don't post questions in the libraries forum.
B4XSwitch is not resizable. You will need to modify the source code and change the various drawing parameters to make it resizable.
If I remember correctly the native Switch control in both Android and iOS is also not resizable. You can try it, it is available in the ViewsEx library.