How can i convert color code in integer ex: 13369395 to android specific. Since 13369395 is also an integer i tried doing
mainLayout.setTextColor(13369395);
but its not working.
I also tried converting 13369395 to hexadecimal like:
mainLayout.setBackgroundColor(Integer.parseInt(13369395 +"", 16)+0xFF000000);
but it also didn't help.