ToggleButtonLayout
ToggleButtonLayout copied to clipboard
Easy creation and management of toggle buttons on Android from the Material Design spec.
Hi, When invoking `toggle.setSelected(true)` the button gets selected but the button background doesn't show the selection.  I've already found a workaround for this issue: use `toggle.setToggled(toggle.getId(), true);`:  As...
I would like to change the size of the toggle but It does not work properly. If there is a way, can you please update me.
` toggleButtonLayout.onToggledListener = { _, toggle, selected -> Snackbar.make(root, "Toggle ${toggle.id} selected state $selected", Snackbar.LENGTH_LONG) .show() } buttonSetSelectedColor.setOnClickListener { val primary = ContextCompat.getColor(this, R.color.colorPrimary) val accent = ContextCompat.getColor(this, R.color.colorAccent) if...
the id not showed up, instead i've got some random numbers any helps?
Hi! I'm appologise for of-topic question, but how do you managed assembling of your project to .aar, which contains all sources and documentation? I'm trying to do same thing with...
How To Disable Buttons ???
