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. It also gives the ability to provide a custom set of attributes. By 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 the ability to provide a custom set of attributes and a reference to the default style resource. By 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).