public final class

ModifiersBuilders.Padding.Builder

extends java.lang.Object

 java.lang.Object

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

Overview

Builder for ModifiersBuilders.Padding

Summary

Methods
public ModifiersBuilders.Paddingbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Padding.BuildersetBottom(DimensionBuilders.DpProp.Builder bottomBuilder)

Sets the padding at the bottom, in DP.

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

Sets the padding at the bottom, in DP.

public ModifiersBuilders.Padding.BuildersetEnd(DimensionBuilders.DpProp.Builder endBuilder)

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.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.BuildersetStart(DimensionBuilders.DpProp.Builder startBuilder)

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.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.Builder topBuilder)

Sets the padding at the top, in DP.

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

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 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 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 top, in DP.

Sets the padding at the bottom, in DP.

Sets the padding at the bottom, in DP.

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.

Builds an instance from accumulated values.