getViewByType

Returns view by the specified type.

Parameters

type

Type of the view to be returned