Closed tonespy closed 9 years ago
You need use Color.rgb() or Color.argb(), like this:
int[] colors = {Color.rgb(0xFF, 0xFF, 0xFF), Color.rgb(0xAF, 0xAF, 0xAF), Color.rgb(0x83, 0x83, 0x83), Color.rgb(0x00, 0x00, 0x00)};
swipeRefreshLayout.setColorSchemeColors(colors);
Thanks
But whenever I use that, I get a purplish color, but what I want is a white, light grey, dark_grey and a black. Why?