set Outer Margin
Sets a transparent outer margin around the thumbnail bar on all four sides, replacing the bar's default WindowInsets.Companion.navigationBars handling. FLOATING mode's theme margins still apply on top of the supplied values.
Useful when embedding the thumbnail bar in a custom layout where the default navigation-bar inset is not appropriate.
Pass 0, 0, 0, 0 to remove all default insets — including the navigation-bar bottom margin. Call clearOuterMargin to restore the default insets-derived behavior.
Parameters
left
Margin in pixels on the left edge.
top
Margin in pixels on the top edge.
right
Margin in pixels on the right edge.
bottom
Margin in pixels on the bottom edge.