public class

CheckableOverlayToolbarButton

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

Class Overview

Sticky button which has a checked state that toggles with user's taps. The "checked" effect is supported when mapsToolbarButtonStyle is referencing a style that's compatible with FioriMaps_ToolbarButton or the app theme is extending FioriTheme.

Summary

[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
CheckableOverlayToolbarButton(Context context)
CheckableOverlayToolbarButton(Context context, AttributeSet attrs)
CheckableOverlayToolbarButton(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
boolean isChecked()
int[] onCreateDrawableState(int extraSpace)
void setChecked(boolean checked)
void toggle()
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.maps.OverlayToolbarButton
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 android.widget.Checkable
From interface androidx.core.view.TintableBackgroundView
From interface androidx.core.widget.TintableImageSourceView

Public Constructors

public CheckableOverlayToolbarButton (Context context)

public CheckableOverlayToolbarButton (Context context, AttributeSet attrs)

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

Public Methods

public boolean isChecked ()

public int[] onCreateDrawableState (int extraSpace)

public void setChecked (boolean checked)

public void toggle ()