Dimension

public abstract @interface Dimension
implements Annotation

android.support.annotation.Dimension


Denotes that an integer parameter, field or method return value is expected to represent a dimension.

Summary

Constants

int DP

int PX

int SP

Public methods

int unit()

Inherited methods

From interface java.lang.annotation.Annotation

Constants

DP

int DP

Constant Value: 0 (0x00000000)

PX

int PX

Constant Value: 1 (0x00000001)

SP

int SP

Constant Value: 2 (0x00000002)

Public methods

unit

int unit ()

Returns
int