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
If you want to use the colors pre-defined in the Android platform, the syntax is @android:color/white. The "android:" at the beginning indicates that the resource is not part of your application.