Skip to content

Most visited

Recently visited

navigation

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

Nested classes

@interface Dimension.Unit

 

Constants

int DP

int PX

int SP

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)

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.