com.googlecode.androidannotations.annotations.res
Annotation Type ColorRes


@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface ColorRes

Use on fields in activity classes that should be injected with values from R.color.* The annotated field must be an int or an Integer The annotation value must be one of R.color.* fields. If the value is not set, the field name will be used as the R.color.* field name.


Optional Element Summary
 int value
           
 

value

public abstract int value
Default:
-1


Copyright © 2010-2012. All Rights Reserved.