I have this attribute declared on attrs.xml:
<resources>
<attr name="customColorPrimary" format="color" value="#076B07"/>
</resources>
I need to get it's value, which should be "#076B07", but instead I'm getting an integer: "2130771968"
I'm accessing the value this way:
int color = R.attr.customColorFontContent;
Is there a correct way to get the real value of this attribute?
Thank you