ResourceBuilders
class ResourceBuilders
Builders for the resources for a layout.
Summary
Nested types |
|---|
@RequiresSchemaVersion(major = 1, minor = 200)A non-seekable animated image resource that maps to an Android drawable by resource ID. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 0)An image resource which maps to an Android drawable by resource ID. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 500)A Lottie resource that is read from a raw Android resource ID. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 200)A seekable animated image resource that maps to an Android drawable by resource ID. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 0)An image resource, which can be used by layouts. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 0)An image resource whose data is fully inlined, with no dependency on a system or app resource. |
|
Builder for |
@RequiresSchemaVersion(major = 1, minor = 600)A single point of customization in a Lottie file. |
@RequiresSchemaVersion(major = 1, minor = 0)The resources for a layout. |
|
Builder for |
Constants |
|
|---|---|
const Int |
@RequiresSchemaVersion(major = 1, minor = 200)Android AnimatedVectorDrawable. |
const Int |
@RequiresSchemaVersion(major = 1, minor = 200)An undefined image format. |
const Int |
@RequiresSchemaVersion(major = 1, minor = 200)An image format where each pixel is stored on 4 bytes. |
const Int |
@RequiresSchemaVersion(major = 1, minor = 0)An image format where each pixel is stored on 2 bytes, with red using 5 bits, green using 6 bits and blue using 5 bits of precision. |
const Int |
@RequiresSchemaVersion(major = 1, minor = 0)An undefined image format. |
Constants
ANIMATED_IMAGE_FORMAT_AVD
@RequiresSchemaVersion(major = 1, minor = 200)
const val ANIMATED_IMAGE_FORMAT_AVD = 1: Int
Android AnimatedVectorDrawable.
ANIMATED_IMAGE_FORMAT_UNDEFINED
@RequiresSchemaVersion(major = 1, minor = 200)
const val ANIMATED_IMAGE_FORMAT_UNDEFINED = 0: Int
An undefined image format.
IMAGE_FORMAT_ARGB_8888
@RequiresSchemaVersion(major = 1, minor = 200)
const val IMAGE_FORMAT_ARGB_8888 = 2: Int
An image format where each pixel is stored on 4 bytes. RGB and alpha (for translucency) is stored with 8 bits of precision.
IMAGE_FORMAT_RGB_565
@RequiresSchemaVersion(major = 1, minor = 0)
const val IMAGE_FORMAT_RGB_565 = 1: Int
An image format where each pixel is stored on 2 bytes, with red using 5 bits, green using 6 bits and blue using 5 bits of precision.
IMAGE_FORMAT_UNDEFINED
@RequiresSchemaVersion(major = 1, minor = 0)
const val IMAGE_FORMAT_UNDEFINED = 0: Int
An undefined image format.