public class

MapInfoSheet

extends LinearLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.sap.cloud.mobile.fiori.maps.MapInfoSheet

Class Overview

The container for map object information. In tablet portrait mode or on a phone, it's a bottom sheet, which must be associated with ERROR(/MapBottomSheetBehavior); In landscape mode, it's a side sheet, which must be associated with SideSheetBehavior. The handle of this sheet will always be visible. When there is a search bar on top of the screen, ERROR(/MapBottomSheetBehavior#setExpandedOffset(int)) } can be used to avoid overlapping when this sheet is expanded.

Summary

[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
MapInfoSheet(Context context)
MapInfoSheet(Context context, AttributeSet attrs)
MapInfoSheet(Context context, AttributeSet attrs, int defStyleAttr)
MapInfoSheet(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void hideContentPanel()
Hides the content panel.
void setContentView(View view)
Sets the view to be used when presenting information.
void setTopOffset(int insetTop)
Sets the inset above this view to avoid overlapping with other views.
void showContentPanel()
Shows the content panel.
void showContentPanel(boolean fullScreen)
Shows the content panel.
Protected Methods
void onRestoreInstanceState(Parcelable state)
Parcelable onSaveInstanceState()
[Expand]
Inherited Methods
From class android.widget.LinearLayout
From class android.view.ViewGroup
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.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public MapInfoSheet (Context context)

public MapInfoSheet (Context context, AttributeSet attrs)

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

public MapInfoSheet (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public void hideContentPanel ()

Hides the content panel.

public void setContentView (View view)

Sets the view to be used when presenting information. The view and it's content are determined by the developer. On phone or tablet portrait mode, this view will be shown in a bottom sheet; On tablet landscape mode, it'll be shown in a side sheet.

Parameters
view the view to be used when presenting details.

public void setTopOffset (int insetTop)

Sets the inset above this view to avoid overlapping with other views.

Parameters
insetTop Inset top. determined by the view height above.

public void showContentPanel ()

Shows the content panel. The content panel contains the search view, details view, or editor view etc.

public void showContentPanel (boolean fullScreen)

Shows the content panel. The content panel contains the search view, details view, or editor view etc.

Parameters
fullScreen whether to show content in full screen (for bottom sheet)

Protected Methods

protected void onRestoreInstanceState (Parcelable state)

protected Parcelable onSaveInstanceState ()