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 |
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 methods
public @NonNull ModifiersBuilders.Padding.BuildersetAll(@NonNull DimensionBuilders.DpProp value)
Sets the padding for all sides of the content, in DP.
public @NonNull ModifiersBuilders.Padding.BuildersetBottom(@NonNull DimensionBuilders.DpProp bottom)
Sets the padding at the bottom, in DP.
public @NonNull ModifiersBuilders.Padding.BuildersetEnd(@NonNull 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 @NonNull ModifiersBuilders.Padding.BuildersetRtlAware(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.
public @NonNull ModifiersBuilders.Padding.BuildersetRtlAware(@NonNull TypeBuilders.BoolProp 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.
public @NonNull ModifiersBuilders.Padding.BuildersetStart(@NonNull 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 @NonNull ModifiersBuilders.Padding.BuildersetTop(@NonNull DimensionBuilders.DpProp top)
Sets the padding at the top, in DP.