public final class

DimensionProto.ExpandedDimensionProp.Builder

extends <any>

implements DimensionProto.ExpandedDimensionPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.ExpandedDimensionProp.Builder

Overview

 A type for a dimension that fills all the space it can (i.e. MATCH_PARENT in
 Android parlance)
 
Protobuf type androidx.wear.protolayout.proto.ExpandedDimensionProp

Summary

Methods
public DimensionProto.ExpandedDimensionProp.BuilderclearLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element.

public TypesProto.FloatPropgetLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element.

public booleanhasLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element.

public DimensionProto.ExpandedDimensionProp.BuildermergeLayoutWeight(TypesProto.FloatProp value)

 The layout weight (a dimensionless scalar value) for this element.

public DimensionProto.ExpandedDimensionProp.BuildersetLayoutWeight(TypesProto.FloatProp.Builder builderForValue)

 The layout weight (a dimensionless scalar value) for this element.

public DimensionProto.ExpandedDimensionProp.BuildersetLayoutWeight(TypesProto.FloatProp value)

 The layout weight (a dimensionless scalar value) for this element.

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

Methods

public boolean hasLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

public TypesProto.FloatProp getLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;

 The layout weight (a dimensionless scalar value) for this element. This
 will only affect the width of children of a Row or the height of children
 of a Column. By default, all children have equal weight. Where applicable,
 the width or height of the element is proportional to the sum of the
 weights of its siblings.

 <p>Note that negative values are not supported and it can lead to
 unexpected behaviour.
 
.androidx.wear.protolayout.proto.FloatProp layout_weight = 1;