set background color: Android
instead of #rrggbb you should be using hex values 0 to F for rr, gg and bb: e.g. Color.parseColor(“#000000”) or Color.parseColor(“#FFFFFF”) Source From documentation: public static int parseColor (String colorString): Parse the color string, and return the corresponding color-int. If the string cannot be parsed, throws an IllegalArgumentException exception. Supported formats are: #RRGGBB #AARRGGBB ‘red’, ‘blue’, ‘green’, ‘black’, ‘white’, ‘gray’, … Read more