AttributionView

interface AttributionView

Interface for attribution view.

The attribution view implementation class should implement both the AttributionView interface and a View class (e.g ImageView).

Functions

Link copied to clipboard
abstract fun requestLayout()

Call this when something has changed which has invalidated the layout of this view. This will schedule a layout pass of the view tree.

Link copied to clipboard
abstract fun setAttributionMargins(@Px left: Int, @Px top: Int, @Px right: Int, @Px bottom: Int)

Set the margins of the attribution view.

Link copied to clipboard
abstract fun setEnable(enabled: Boolean)

Set whether the attribution view is enabled.

Link copied to clipboard
abstract fun setGravity(gravity: Int)

Set the gravity value of the attribution view.

Link copied to clipboard
abstract fun setIconColor(@ColorInt color: Int)

Set the attribution tint color

Link copied to clipboard

Set an View.OnClickListener to AttributionView

Inheritors

Link copied to clipboard