How do I change the color of my button on Kotlin?
Answer
Note that select Kotlin as the programming language. Go to the layout folder and in the activity_main. xml file change the ConstraintLayout to LinearLayout and give its orientation vertical. Add the Button and Switch to the layout.
Answer
Note that select Kotlin as the programming language. Go to the layout folder and in the activity_main. xml file change the ConstraintLayout to LinearLayout and give its orientation vertical. Add the Button and Switch to the layout.