android-components / mozilla.components.concept.toolbar / Toolbar / ActionImage

ActionImage

open class ActionImage : Action (source)

An action that just shows a static, non-clickable image.

Parameters

imageDrawable - The drawable to be shown.

contentDescription - Optional content description to be used. If no content description is provided then this view will be treated as not important for accessibility.

padding - A optional custom padding.

Constructors

<init>

ActionImage(imageDrawable: Drawable, contentDescription: String? = null, padding: Padding? = null)

An action that just shows a static, non-clickable image.

Inherited Properties

visible

open val visible: () -> Boolean

Functions

bind

open fun bind(view: View): Unit

createView

open fun createView(parent: ViewGroup): View