HorizontalWavyDivider
A horizontal divider drawn as the toolkit's wavy line, il_wavy_line.
It fills the available width and adapts to whatever it is given. The wave scales with waveHeight, keeping the drawable's proportions, and its wavelength is stretched or squeezed slightly so a whole number of half-waves fits the width. Both ends therefore finish cleanly on the centre line at any width, instead of the wave being cut off mid-curve.
Like Material's HorizontalDivider it is decorative and adds nothing to the semantics tree.
Parameters
applied to the divider. Constrain its width here to shorten it.
the band the wave occupies, crest to trough including the stroke. The wave is longer when this is taller, so the curve keeps its shape.
the stroke width of the line.
the line colour. Defaults to the colour of Material's plain dividers.