diff --git a/core/java/android/annotation/ColorInt.java b/core/java/android/annotation/ColorInt.java index c4c93eee3cee5..69d196c6b5e44 100644 --- a/core/java/android/annotation/ColorInt.java +++ b/core/java/android/annotation/ColorInt.java @@ -29,6 +29,8 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * int, {@code AARRGGBB}. If applied to an int array, every element * in the array represents a color integer. *

+ * Example: + *

{@code
  *  public abstract void setTextColor(@ColorInt int color);
  * }
*