How can I get color-int from color resource?
Is there any way to get a color-int from a color resource? I am trying to get the individual red, blue and green components of a color defined in the resource (R.color.myColor) so that I can set the values of three seekbars to a specific level. 13 s 13 You can use: getResources().getColor(R.color.idname); Check here … Read more