public class

OverlayToolbarButton

extends AppCompatImageButton
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.ImageView
       ↳ android.widget.ImageButton
         ↳ androidx.appcompat.widget.AppCompatImageButton
           ↳ com.sap.cloud.mobile.fiori.maps.OverlayToolbarButton
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Optional interface for buttons used on the toolbar.

Summary

[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
OverlayToolbarButton(Context context)
OverlayToolbarButton(Context context, AttributeSet attrs)
OverlayToolbarButton(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
OverlayToolbar getToolbar()
Gets the toolbar for the location button.
void setToolbar(OverlayToolbar toolbar)
Sets the toolbar for the location button.
[Expand]
Inherited Methods
From class androidx.appcompat.widget.AppCompatImageButton
From class android.widget.ImageButton
From class android.widget.ImageView
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource
From interface androidx.core.view.TintableBackgroundView
From interface androidx.core.widget.TintableImageSourceView

Public Constructors

public OverlayToolbarButton (Context context)

public OverlayToolbarButton (Context context, AttributeSet attrs)

public OverlayToolbarButton (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public OverlayToolbar getToolbar ()

Gets the toolbar for the location button.

Returns
  • The toolbar the button has been added to.

public void setToolbar (OverlayToolbar toolbar)

Sets the toolbar for the location button.

Parameters
toolbar The toolbar the button has been added to.