ARGB to RGBA and vice versa

Integers (int32) can be tricky when expressing color values and the right way to do it is a bit of shifting:

rgba = (argb << 8) | (argb >>> (32-8));
argb = (rgba >>> 8) | (rgba << (32-8));

Apparently libgdx and android differs in these two ways of expressing integer colors.