how to set background colour using hexcode android code example Example: setbackground color hexadecimal android view.setBackgroundColor(0x00FF00)