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() {
...
}
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.