Kotlin Alterar materialbutton icon cor programaticamente
val button = findViewById<MaterialButton>(R.id.btnShowDepartmentList)
button.setOnClickListener {
button.setIconTintResource(R.color.orangeLighter)
}
Serial Koder