G GuyBooth Active Member Licensed User Longtime User Mar 5, 2017 #1 I want to lay out a series of toggle buttons precisely so I can see a very small gap between each one. Is there a way to determine what the visible width of a toggle button is?
I want to lay out a series of toggle buttons precisely so I can see a very small gap between each one. Is there a way to determine what the visible width of a toggle button is?
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2017 #2 The ToggleButton default drawable includes a few pixels of shadow. If you want full control then you can use your own background images or colors: https://www.b4x.com/android/forum/threads/statelistdrawable-example.6589/#content Upvote 0
The ToggleButton default drawable includes a few pixels of shadow. If you want full control then you can use your own background images or colors: https://www.b4x.com/android/forum/threads/statelistdrawable-example.6589/#content