public final class

LayoutElementBuilders.Image

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Image

Overview

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

Methods
public static LayoutElementBuilders.Image.Builderbuilder()

Returns a new LayoutElementBuilders.Image.Builder.

public static LayoutElementBuilders.ImagefromProto(LayoutElementProto.Image proto)

public LayoutElementProto.LayoutElementtoLayoutElementProto()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static LayoutElementBuilders.Image.Builder builder()

Returns a new LayoutElementBuilders.Image.Builder.

public static LayoutElementBuilders.Image fromProto(LayoutElementProto.Image proto)

public LayoutElementProto.LayoutElement toLayoutElementProto()