ModifiersBuilders.Padding.Builder

public final class ModifiersBuilders.Padding.Builder


Builder for Padding

Summary

Public constructors

Public methods

@NonNull ModifiersBuilders.Padding

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.Padding.Builder

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

@NonNull ModifiersBuilders.Padding.Builder

Sets the padding at the bottom, in DP.

@NonNull ModifiersBuilders.Padding.Builder

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

@NonNull ModifiersBuilders.Padding.Builder

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

@NonNull ModifiersBuilders.Padding.Builder
setRtlAware(boolean rtlAware)

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

@NonNull ModifiersBuilders.Padding.Builder

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

@NonNull ModifiersBuilders.Padding.Builder

Sets the padding at the top, in DP.

Public constructors

Builder

public Builder()

Public methods

build

public @NonNull ModifiersBuilders.Padding build()

Builds an instance from accumulated values.

setAll

public @NonNull ModifiersBuilders.Padding.Builder setAll(@NonNull DimensionBuilders.DpProp value)

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

setBottom

public @NonNull ModifiersBuilders.Padding.Builder setBottom(@NonNull DimensionBuilders.DpProp bottom)

Sets the padding at the bottom, in DP.