public abstract @interface FloatRange
implements Annotation
android.support.annotation.FloatRange |
表示注释的元素应该是给定范围内的float或double
例:
@FloatRange(from=0.0,to=1.0)
public float getAlpha() {
...
}
Inherited methods |
|
---|---|
From interface java.lang.annotation.Annotation
|