org.androidannotations.annotations.res
Annotation Type LayoutRes


@Retention(value=CLASS)
@Target(value=FIELD)
public @interface LayoutRes

Use on XmlResourceParser fields in any enhanced classes that should be injected with this specific layout resource.

The annotation value must be one of R.layout.* fields. If the value is not set, the field name will be used as the R.layout.* field name.


Optional Element Summary
 String resName
           
 int value
           
 

value

public abstract int value
Default:
-1

resName

public abstract String resName
Default:
""


Copyright © 2010-2014. All Rights Reserved.