android-components / mozilla.components.browser.engine.servo / ServoEngine / createView

createView

fun createView(context: Context, attrs: AttributeSet?): EngineView (source)

Overrides Engine.createView

Creates a new view for rendering web content.

Parameters

context - an application context

attrs - optional set of attributes

Return
new newly created EngineView.