SeslShapeDrawable
A specialized GradientDrawable that enables smooth corners by default.
This class extends GradientDrawable and, during inflation, attempts to invoke a hidden API (setSmoothCorner(true)
) to enable smooth corner rendering on a supported OneUI device.
Functions
Link copied to clipboard
open fun inflate(@NonNull resources: Resources, @NonNull xmlPullParser: XmlPullParser, @NonNull attrs: AttributeSet, @Nullable theme: Resources.Theme)