sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.zoom / ZoomButtonsGroup / <init>

<init>

ZoomButtonsGroup(context: Context!)

Default constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

Parameters

context - Context!: view context.

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

Custom constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. Also it gives ability to provide custom set of attributes. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

Parameters

context - Context!: view context.

attrs - AttributeSet!: set of custom attributes.

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

Custom constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. Also it gives ability to provide custom set of attributes and a reference to default style resource. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

Parameters

context - Context!: view context.

attrs - AttributeSet!: set of custom attributes.

defStyleAttr - Int: attribute that contains a reference to a style resource, that supplies default values for styled attributes. Should be different than 0 in this constructor, otherwise use ZoomButtonsGroup#ZoomButtonsGroup(Context, AttributeSet).