ResourceBuilders

public final class ResourceBuilders
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.builders.ResourceBuilders


Builders for the resources for a layout.

Summary

Nested classes

class ResourceBuilders.AndroidImageResourceByResId

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

class ResourceBuilders.ImageResource

An image resource, which can be used by layouts. 

class ResourceBuilders.InlineImageResource

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

class ResourceBuilders.Resources

The resources for a layout. 

Constants

int IMAGE_FORMAT_RGB_565

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.

int IMAGE_FORMAT_UNDEFINED

An undefined image format.

Inherited methods

Constants

IMAGE_FORMAT_RGB_565

public static final int IMAGE_FORMAT_RGB_565

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.

Constant Value: 1 (0x00000001)

IMAGE_FORMAT_UNDEFINED

public static final int IMAGE_FORMAT_UNDEFINED

An undefined image format.

Constant Value: 0 (0x00000000)