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


@Retention(value=CLASS)
@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
 String resName
           
 int value
           
 

value

public abstract int value
Default:
-1

resName

public abstract String resName
Default:
""


Copyright © 2010-2013. All Rights Reserved.