button has set a them color in android studio how to change code example
Example 1: cant change button color when app run android studio
replace <Button with <androidx.appcompat.widget.AppCompatButton
Example 2: android studio change button color programmatically
Button11.setBackgroundColor(0xFFFF0000); // 0xAARRGGBB