Answers for "how to set button color android studio"

0

button color xml android

android:backgroundTint="@android:color/holo_green_light"
Posted by: Guest on October-25-2021
0

android studio change button color programmatically

// If you're in an activity:
Button11.setBackgroundColor(getResources().getColor(R.color.red));
// OR, if you're not: 
Button11.setBackgroundColor(Button11.getContext().getResources().getColor(R.color.red));
Posted by: Guest on March-10-2021

Code answers related to "how to set button color android studio"

Code answers related to "Swift"

Browse Popular Code Answers by Language