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