public interface

ModifiersProto.PaddingOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.PaddingOrBuilder

Subclasses:

ModifiersProto.Padding, ModifiersProto.Padding.Builder

Summary

Methods
public DimensionProto.DpPropgetBottom()

 The padding at the bottom, in DP.

public DimensionProto.DpPropgetEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public TypesProto.BoolPropgetRtlAware()

 Whether the start/end padding is aware of RTL support.

public DimensionProto.DpPropgetStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public DimensionProto.DpPropgetTop()

 The padding at the top, in DP.

public booleanhasBottom()

 The padding at the bottom, in DP.

public booleanhasEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public booleanhasRtlAware()

 Whether the start/end padding is aware of RTL support.

public booleanhasStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".

public booleanhasTop()

 The padding at the top, in DP.

Methods

public boolean hasEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp end = 1;

Returns:

Whether the end field is set.

public DimensionProto.DpProp getEnd()

 The padding on the end of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp end = 1;

Returns:

The end.

public boolean hasStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp start = 2;

Returns:

Whether the start field is set.

public DimensionProto.DpProp getStart()

 The padding on the start of the content, depending on the layout direction,
 in DP and the value of "rtl_aware".
 
.androidx.wear.protolayout.proto.DpProp start = 2;

Returns:

The start.

public boolean hasTop()

 The padding at the top, in DP.
 
.androidx.wear.protolayout.proto.DpProp top = 3;

Returns:

Whether the top field is set.

public DimensionProto.DpProp getTop()

 The padding at the top, in DP.
 
.androidx.wear.protolayout.proto.DpProp top = 3;

Returns:

The top.

public boolean hasBottom()

 The padding at the bottom, in DP.
 
.androidx.wear.protolayout.proto.DpProp bottom = 4;

Returns:

Whether the bottom field is set.

public DimensionProto.DpProp getBottom()

 The padding at the bottom, in DP.
 
.androidx.wear.protolayout.proto.DpProp bottom = 4;

Returns:

The bottom.

public boolean hasRtlAware()

 Whether the start/end padding is aware of RTL support. If true, the values
 for start/end will follow the layout direction (i.e. start will refer to
 the right hand side of the container if the device is using an RTL locale).
 If false, start/end will always map to left/right, accordingly.
 
.androidx.wear.protolayout.proto.BoolProp rtl_aware = 5;

Returns:

Whether the rtlAware field is set.

public TypesProto.BoolProp getRtlAware()

 Whether the start/end padding is aware of RTL support. If true, the values
 for start/end will follow the layout direction (i.e. start will refer to
 the right hand side of the container if the device is using an RTL locale).
 If false, start/end will always map to left/right, accordingly.
 
.androidx.wear.protolayout.proto.BoolProp rtl_aware = 5;

Returns:

The rtlAware.