Android Question B4XSwitch resizable

Matteo Giorgini

Member
Licensed User
Hi guys!
I used B4XSwitch in a layout that loaded in an activity.
I want to know if B4XSwitch can be resized. I try to change height but I don't see any changes.

Can you help me?

Thanks in advance

Matteo
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
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.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…