public final class

LayoutElementBuilders.Box

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Box

Overview

A container which stacks all of its children on top of one another. This also allows to add a background color, or to have a border around them with some padding.

Summary

Methods
public static LayoutElementBuilders.Box.Builderbuilder()

Returns a new LayoutElementBuilders.Box.Builder.

public static LayoutElementBuilders.BoxfromProto(LayoutElementProto.Box proto)

public LayoutElementProto.LayoutElementtoLayoutElementProto()

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

Methods

public static LayoutElementBuilders.Box.Builder builder()

Returns a new LayoutElementBuilders.Box.Builder.

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

public LayoutElementProto.LayoutElement toLayoutElementProto()