public final class

LayoutElementBuilders.Layout

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.Layout

Overview

A complete layout.

Summary

Methods
public static LayoutElementBuilders.LayoutfromLayoutElement(LayoutElementBuilders.LayoutElement layoutElement)

Returns the LayoutElementBuilders.Layout object containing the given layout element.

public static LayoutElementBuilders.LayoutfromProto(LayoutElementProto.Layout proto)

public LayoutElementBuilders.LayoutElementgetRoot()

Gets the root element in the layout.

public LayoutElementProto.LayouttoProto()

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

Methods

Gets the root element in the layout. Intended for testing purposes only.

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

public static LayoutElementBuilders.Layout fromLayoutElement(LayoutElementBuilders.LayoutElement layoutElement)

Returns the LayoutElementBuilders.Layout object containing the given layout element.

public LayoutElementProto.Layout toProto()