net.sf.metagloss.preference
Annotation Type PreferenceResource
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
public @interface PreferenceResource
Annotation type to set the root XML preference screen. Compulsory for any
class extending AnnotatedPreferenceActivity
.
Required Element Summary |
int |
resource
Holds the resource id of the preference screen. |
resource
public abstract int resource
- Holds the resource id of the preference screen.
- Returns:
- The XML resource ID to inflate.
binds
public abstract BindPreference[] binds
- Default:
- {}
booleanStrings
public abstract BooleanString[] booleanStrings
- Default:
- {}
floatConstraints
public abstract FloatConstraint[] floatConstraints
- Default:
- {}
integerConstraints
public abstract IntegerConstraint[] integerConstraints
- Default:
- {}