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

Name Summary
<init> ActionImage(imageDrawable: <ERROR CLASS>, contentDescription: String? = null, padding: Padding? = null)
An action that just shows a static, non-clickable image.

Inherited Properties

Name Summary
visible open val visible: () -> Boolean

Functions

Name Summary
bind open fun bind(view: <ERROR CLASS>): Unit
createView open fun createView(parent: <ERROR CLASS>): <ERROR CLASS>