public final class

TypeBuilders.StringLayoutConstraint

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.TypeBuilders.StringLayoutConstraint

Overview

A type for specifying layout constraints when using TypeBuilders.StringProp on a data bindable layout element.

Summary

Methods
public intgetAlignment()

Gets angular alignment of the actual content within the space reserved by value.

public FingerprintgetFingerprint()

public java.lang.StringgetPatternForLayout()

Gets the text string to use as the pattern for the largest text that can be laid out.

public TypesProto.StringProptoProto()

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

Methods

public java.lang.String getPatternForLayout()

Gets the text string to use as the pattern for the largest text that can be laid out. Used to ensure that the layout is of a known size during the layout pass.

public int getAlignment()

Gets angular alignment of the actual content within the space reserved by value.

public Fingerprint getFingerprint()

public TypesProto.StringProp toProto()