Dewey Theme Overlay
Utility class to wrap a context with a dewey theme overlay.
When a dewey theme overlay is set on a view, the view will be inflated with the dewey theme overlay applied to it. This means that the view will be styled with the dewey theme overlay's attributes.
Functions
Link copied to clipboard
open fun wrap(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int): Context
open fun wrap(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, @StyleRes defaultThemeOverlayId: Int): Context
Wraps the given context with a dewey theme overlay.