Button Color XML Android
android:backgroundTint="@android:color/holo_green_light"
Zarden
android:backgroundTint="@android:color/holo_green_light"
// 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));
Button11.setBackgroundColor(0xFFFF0000); // 0xAARRGGBB