public class

RenderedMetadata.ViewProperties

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.renderer.inflater.RenderedMetadata.ViewProperties

Overview

Holds properties of any container that are needed for background rendering.

Summary

Fields
public static final RenderedMetadata.ViewPropertiesEMPTY

Constructors
publicViewProperties()

Methods
public static RenderedMetadata.ViewPropertiesfromViewGroup(ViewGroup viewGroup, LayoutParams rawLayoutParams, androidx.wear.protolayout.renderer.inflater.RenderedMetadata.PendingLayoutParams childLayoutParams)

Creates a RenderedMetadata.ViewProperties from any ViewGroup container.

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

Fields

public static final RenderedMetadata.ViewProperties EMPTY

Constructors

public ViewProperties()

Methods

public static RenderedMetadata.ViewProperties fromViewGroup(ViewGroup viewGroup, LayoutParams rawLayoutParams, androidx.wear.protolayout.renderer.inflater.RenderedMetadata.PendingLayoutParams childLayoutParams)

Creates a RenderedMetadata.ViewProperties from any ViewGroup container. Note that rawLayoutParams doesn't need to be a container-specific variant. But the childLayoutParams should be of a container specific instance (if provided).