When I look at misc. Android tutorials and examples when it comes to specifying colors I very often see constants like @color/red or @color/black e
@color/red
@color/black
An important part of this that no one else has mentioned is that the reference to the color has to be
but the xml file has to be
colors.xml
(note plural in the xml file name but not plural @color)