android-components / mozilla.components.concept.toolbar / Toolbar / ActionImage / <init>

<init>

ActionImage(@DrawableRes imageResource: Int, contentDescription: String? = null, padding: Padding? = null)

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

Parameters

imageResource - 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.