change background color through value android studio code example
Example: android studio set background color
YourView.setBackgroundColor(Color.argb(255, 255, 255, 255));
YourView.setBackgroundColor(Color.argb(255, 255, 255, 255));