public final class

ModifiersBuilders.Padding.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Padding.Builder

Overview

Builder for ModifiersBuilders.Padding

Summary

Constructors
publicBuilder()

Methods
public ModifiersBuilders.Paddingbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Padding.BuildersetAll(DimensionBuilders.DpProp value)

Sets the padding for all sides of the content, in DP.

public ModifiersBuilders.Padding.BuildersetBottom(DimensionBuilders.DpProp bottom)

Sets the padding at the bottom, in DP.

public ModifiersBuilders.Padding.BuildersetEnd(DimensionBuilders.DpProp end)

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

public ModifiersBuilders.Padding.BuildersetRtlAware(boolean rtlAware)

Sets whether the start/end padding is aware of RTL support.

public ModifiersBuilders.Padding.BuildersetRtlAware(TypeBuilders.BoolProp rtlAware)

Sets whether the start/end padding is aware of RTL support.

public ModifiersBuilders.Padding.BuildersetStart(DimensionBuilders.DpProp start)

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

public ModifiersBuilders.Padding.BuildersetTop(DimensionBuilders.DpProp top)

Sets the padding at the top, in DP.

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

Constructors

public Builder()

Methods

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

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

Sets the padding at the top, in DP.

Sets the padding at the bottom, in DP.

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

public ModifiersBuilders.Padding.Builder setRtlAware(boolean rtlAware)

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

Sets the padding for all sides of the content, in DP.

Builds an instance from accumulated values.