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.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun inflate(@NonNull resources: @NonNull Resources, @NonNull xmlPullParser: @NonNull XmlPullParser, @NonNull attrs: @NonNull AttributeSet, theme: @Nullable Resources.Theme)