LayoutElementBuilders.Image

public static final class LayoutElementBuilders.Image
extends Object implements LayoutElementBuilders.LayoutElement

java.lang.Object
   ↳ androidx.wear.tiles.builders.LayoutElementBuilders.Image


An image.

Images used in this element must exist in the resource bundle that corresponds to this layout. Images must have their dimension specified, and will be rendered at this width and height, regardless of their native dimension.

Summary

Nested classes

class LayoutElementBuilders.Image.Builder

Builder for LayoutElementBuilders.Image

Public methods

static LayoutElementBuilders.Image.Builder builder()

Returns a new LayoutElementBuilders.Image.Builder.

Inherited methods

Public methods