How do I change the color of my button on Kotlin?

Nam Phong

New member
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.
 

Tìm kiếm

Back
Top