How can I save color values inside array.xml and retrieve its back to my code as Color [] array?
Thanks beforehand!
In Kotlin that will be much simpler
val colors = resources.obtainTypedArray(R.array.colors).use { ta -> IntArray(ta.length()) { ta.getColor(it, 0) } }