public interface

DimensionProto.ExpandedAngularDimensionPropOrBuilder

 androidx.wear.protolayout.proto.DimensionProto.ExpandedAngularDimensionPropOrBuilder

Subclasses:

DimensionProto.ExpandedAngularDimensionProp, DimensionProto.ExpandedAngularDimensionProp.Builder

Summary

Methods
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.

Methods

public boolean hasLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. The
 angular dimension for this element will be layout_weight times the
 available space divided by the sum of the layout_weights. If not set this
 defaults to 1.

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

Returns:

Whether the layoutWeight field is set.

public TypesProto.FloatProp getLayoutWeight()

 The layout weight (a dimensionless scalar value) for this element. The
 angular dimension for this element will be layout_weight times the
 available space divided by the sum of the layout_weights. If not set this
 defaults to 1.

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

Returns:

The layoutWeight.