padding
Source set: Android
public fun RemoteModifier.padding(
start: RemoteFloat = 0f.rf,
top: RemoteFloat = 0f.rf,
end: RemoteFloat = 0f.rf,
bottom: RemoteFloat = 0f.rf,
): RemoteModifier
Adds padding to each edge of the content.
Parameters
| start | Padding at the start edge. |
| top | Padding at the top edge. |
| end | Padding at the end edge. |
| bottom | Padding at the bottom edge. |
padding
Source set: Android
public fun RemoteModifier.padding(all: RemoteFloat): RemoteModifier
Adds all padding to each edge of the content.
padding
Source set: Android
public fun RemoteModifier.padding(
horizontal: RemoteFloat = 0f.rf,
vertical: RemoteFloat = 0f.rf,
): RemoteModifier
Adds horizontal padding to the start and end edges, and vertical padding to the top and bottom edges.
padding
Source set: Android
public fun RemoteModifier.padding(padding: RemotePaddingValues): RemoteModifier
Adds padding defined by the padding object.
padding
Source set: Android
public fun RemoteModifier.padding(all: RemoteDp): RemoteModifier
Adds all padding to each edge of the content.
padding
Source set: Android
public fun RemoteModifier.padding(
start: RemoteDp = 0.rdp,
top: RemoteDp = 0.rdp,
end: RemoteDp = 0.rdp,
bottom: RemoteDp = 0.rdp,
): RemoteModifier
Adds padding to each edge of the content using RemoteDp values.
Parameters
| start | Padding at the start edge. |
| top | Padding at the top edge. |
| end | Padding at the end edge. |
| bottom | Padding at the bottom edge. |
padding
Source set: Android
public fun RemoteModifier.padding(
horizontal: RemoteDp = 0.rdp,
vertical: RemoteDp = 0.rdp,
): RemoteModifier
Adds horizontal padding to the start and end edges, and vertical padding to the top and bottom edges.