Most visited

Recently visited

FloatRange

public abstract @interface FloatRange
implements Annotation

android.support.annotation.FloatRange


Denotes that the annotated element should be a float or double in the given range

Example:


  @FloatRange(from=0.0,to=1.0)
  public float getAlpha() {
      ...
  }
 

Summary

Inherited methods

From interface java.lang.annotation.Annotation

Hooray!