public final class

ModifiersProto.Padding.Builder

extends <any>

implements ModifiersProto.PaddingOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Padding.Builder

Overview

 A modifier to apply padding around an element.
 
Protobuf type androidx.wear.protolayout.proto.Padding

Summary

Methods
public ModifiersProto.Padding.BuilderclearBottom()

 The padding at the bottom, in DP.

public ModifiersProto.Padding.BuilderclearEnd()

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

public ModifiersProto.Padding.BuilderclearRtlAware()

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

public ModifiersProto.Padding.BuilderclearStart()

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

public ModifiersProto.Padding.BuilderclearTop()

 The padding at the top, in DP.

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.

public ModifiersProto.Padding.BuildermergeBottom(DimensionProto.DpProp value)

 The padding at the bottom, in DP.

public ModifiersProto.Padding.BuildermergeEnd(DimensionProto.DpProp value)

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

public ModifiersProto.Padding.BuildermergeRtlAware(TypesProto.BoolProp value)

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

public ModifiersProto.Padding.BuildermergeStart(DimensionProto.DpProp value)

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

public ModifiersProto.Padding.BuildermergeTop(DimensionProto.DpProp value)

 The padding at the top, in DP.

public ModifiersProto.Padding.BuildersetBottom(DimensionProto.DpProp.Builder builderForValue)

 The padding at the bottom, in DP.

public ModifiersProto.Padding.BuildersetBottom(DimensionProto.DpProp value)

 The padding at the bottom, in DP.

public ModifiersProto.Padding.BuildersetEnd(DimensionProto.DpProp.Builder builderForValue)

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

public ModifiersProto.Padding.BuildersetEnd(DimensionProto.DpProp value)

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

public ModifiersProto.Padding.BuildersetRtlAware(TypesProto.BoolProp.Builder builderForValue)

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

public ModifiersProto.Padding.BuildersetRtlAware(TypesProto.BoolProp value)

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

public ModifiersProto.Padding.BuildersetStart(DimensionProto.DpProp.Builder builderForValue)

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

public ModifiersProto.Padding.BuildersetStart(DimensionProto.DpProp value)

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

public ModifiersProto.Padding.BuildersetTop(DimensionProto.DpProp.Builder builderForValue)

 The padding at the top, in DP.

public ModifiersProto.Padding.BuildersetTop(DimensionProto.DpProp value)

 The padding at the top, in DP.

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

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;

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;

 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;

 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;

 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;

 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;

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;

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;

 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;

 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;

 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;

public ModifiersProto.Padding.Builder clearStart()

 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;

public boolean hasTop()

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

public DimensionProto.DpProp getTop()

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

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

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

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

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

public boolean hasBottom()

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

public DimensionProto.DpProp getBottom()

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

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

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

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

public ModifiersProto.Padding.Builder clearBottom()

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

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;

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;

 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;

 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;

 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;

public ModifiersProto.Padding.Builder clearRtlAware()

 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;