The Developer Preview for Android 11 is now available; test it out and share your feedback.

ColorRes

public abstract @interface ColorRes
implements Annotation

androidx.annotation.ColorRes


Denotes that an integer parameter, field or method return value is expected to be a color resource reference (e.g. android.R.color.black).

Summary

Inherited methods