ResourceBuilders

Added in 1.0.0
Deprecated in 1.2.0

public final class ResourceBuilders


Builders for the resources for a layout.

Summary

Nested types

An image resource which maps to an Android drawable by resource ID.

Builder for AndroidImageResourceByResId

An image resource, which can be used by layouts.

Builder for ImageResource

An image resource whose data is fully inlined, with no dependency on a system or app resource.

Builder for InlineImageResource

public final class ResourceBuilders.Resources

The resources for a layout.

Builder for Resources

Constants

static final 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.

static final int

An undefined image format.

Constants

IMAGE_FORMAT_RGB_565

Added in 1.0.0
Deprecated in 1.2.0
public static final int IMAGE_FORMAT_RGB_565 = 1

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

Added in 1.0.0
Deprecated in 1.2.0
public static final int IMAGE_FORMAT_UNDEFINED = 0

An undefined image format.