Android APIs
public abstract @interface

FloatRange

implements Annotation
android.support.annotation.FloatRange

Class Overview

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

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation