Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Px

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE]) @Dimension(1) class Px
androidx.annotation.Px

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

Summary

Public constructors

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

Public constructors

<init>

Px()

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