Answers for "kotlin change materialbutton icon color programmatically"

0

kotlin change materialbutton icon color programmatically

val button = findViewById<MaterialButton>(R.id.btnShowDepartmentList)
button.setOnClickListener {
    button.setIconTintResource(R.color.orangeLighter)
}
Posted by: Guest on May-31-2021

Code answers related to "kotlin change materialbutton icon color programmatically"

Browse Popular Code Answers by Language