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