ToggleButtonLayout icon indicating copy to clipboard operation
ToggleButtonLayout copied to clipboard

Easy creation and management of toggle buttons on Android from the Material Design spec.

Results 8 ToggleButtonLayout issues
Sort by recently updated
recently updated
newest added

Hi, When invoking `toggle.setSelected(true)` the button gets selected but the button background doesn't show the selection. ![2019-06-28_11:33:19-maindesk_001](https://user-images.githubusercontent.com/12744003/60333300-eeae7480-9998-11e9-99cd-f500b3154e50.png) I've already found a workaround for this issue: use `toggle.setToggled(toggle.getId(), true);`: ![2019-06-28_11:33:27-maindesk_001](https://user-images.githubusercontent.com/12744003/60333306-f241fb80-9998-11e9-959c-892b4f039d4d.png) 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...

![screenshot_2018-09-12-15-22-32-927_com kindergarteneducationist androidara](https://user-images.githubusercontent.com/6528169/45419154-e56d4900-b69f-11e8-9ee8-266c625cde48.png)