sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.arrowbuttons / ArrowButtonsGroup

ArrowButtonsGroup

open class ArrowButtonsGroup : FrameLayout, PanningControlsView

Group of arrow buttons used for controlling camera position. This class contains arrow buttons for every direction.

Constructors

<init>

ArrowButtonsGroup(context: Context!)

Default constructor that uses context to inflate this layout, init views and listeners for every arrow button.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes and a reference to default style resource.

Functions

getView

open fun getView(): ArrowButtonsGroup

hide

open fun hide(): Unit

setArrowButtonsClickListener

open fun setArrowButtonsClickListener(arrowsClickListener: ArrowButtonsClickListener!): Unit

Method to register on click listeners for group of arrow buttons.

setMargins

open fun setMargins(left: Int, top: Int, right: Int, bottom: Int): Unit

show

open fun show(): Unit