Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

ColorInt

public abstract @interface ColorInt
implements Annotation

android.support.annotation.ColorInt


Denotes that the annotated element represents a packed color int, AARRGGBB. If applied to an int array, every element in the array represents a color integer.

Example:

public abstract void setTextColor(@ColorInt int color);
 

Summary

Inherited methods

From interface java.lang.annotation.Annotation