Answers for "icon color on button android studio"

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 "icon color on button android studio"

Browse Popular Code Answers by Language