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