Class ActionBar
public class ActionBar : JVMBridgeBase<ActionBar>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
ActionBar
- Implements
- Extension Methods
Constructors
ActionBar()
public ActionBar()
ActionBar(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ActionBar(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DISPLAY_HOME_AS_UP
public static int DISPLAY_HOME_AS_UP { get; set; }
Property Value
DISPLAY_SHOW_CUSTOM
public static int DISPLAY_SHOW_CUSTOM { get; set; }
Property Value
DISPLAY_SHOW_HOME
public static int DISPLAY_SHOW_HOME { get; set; }
Property Value
DISPLAY_SHOW_TITLE
public static int DISPLAY_SHOW_TITLE { get; set; }
Property Value
DISPLAY_USE_LOGO
public static int DISPLAY_USE_LOGO { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
NAVIGATION_MODE_LIST
[Obsolete("Deprecated in JVM")]
public static int NAVIGATION_MODE_LIST { get; set; }
Property Value
NAVIGATION_MODE_STANDARD
[Obsolete("Deprecated in JVM")]
public static int NAVIGATION_MODE_STANDARD { get; set; }
Property Value
NAVIGATION_MODE_TABS
[Obsolete("Deprecated in JVM")]
public static int NAVIGATION_MODE_TABS { get; set; }
Property Value
Methods
AddOnMenuVisibilityListener(OnMenuVisibilityListener)
public void AddOnMenuVisibilityListener(ActionBar.OnMenuVisibilityListener arg0)
Parameters
AddTab(Tab)
https://developer.android.com/reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab)
[Obsolete("Deprecated in JVM")]
public void AddTab(ActionBar.Tab arg0)
Parameters
AddTab(Tab, bool)
[Obsolete("Deprecated in JVM")]
public void AddTab(ActionBar.Tab arg0, bool arg1)
Parameters
AddTab(Tab, int)
[Obsolete("Deprecated in JVM")]
public void AddTab(ActionBar.Tab arg0, int arg1)
Parameters
AddTab(Tab, int, bool)
[Obsolete("Deprecated in JVM")]
public void AddTab(ActionBar.Tab arg0, int arg1, bool arg2)
Parameters
CreatePoolableInstance()
HPA initializer for ActionBar()
public static ActionBar CreatePoolableInstance()
Returns
GetCustomView()
public View GetCustomView()
Returns
GetDisplayOptions()
public int GetDisplayOptions()
Returns
GetElevation()
public float GetElevation()
Returns
GetHeight()
public int GetHeight()
Returns
GetHideOffset()
public int GetHideOffset()
Returns
GetNavigationItemCount()
[Obsolete("Deprecated in JVM")]
public int GetNavigationItemCount()
Returns
GetNavigationMode()
[Obsolete("Deprecated in JVM")]
public int GetNavigationMode()
Returns
GetSelectedNavigationIndex()
[Obsolete("Deprecated in JVM")]
public int GetSelectedNavigationIndex()
Returns
GetSelectedTab()
[Obsolete("Deprecated in JVM")]
public ActionBar.Tab GetSelectedTab()
Returns
GetSubtitle()
public CharSequence GetSubtitle()
Returns
GetTabAt(int)
[Obsolete("Deprecated in JVM")]
public ActionBar.Tab GetTabAt(int arg0)
Parameters
Returns
GetTabCount()
[Obsolete("Deprecated in JVM")]
public int GetTabCount()
Returns
GetThemedContext()
public Context GetThemedContext()
Returns
GetTitle()
public CharSequence GetTitle()
Returns
Hide()
public void Hide()
IsHideOnContentScrollEnabled()
public bool IsHideOnContentScrollEnabled()
Returns
IsShowing()
public bool IsShowing()
Returns
NewTab()
[Obsolete("Deprecated in JVM")]
public ActionBar.Tab NewTab()
Returns
RemoveAllTabs()
[Obsolete("Deprecated in JVM")]
public void RemoveAllTabs()
RemoveOnMenuVisibilityListener(OnMenuVisibilityListener)
public void RemoveOnMenuVisibilityListener(ActionBar.OnMenuVisibilityListener arg0)
Parameters
RemoveTab(Tab)
[Obsolete("Deprecated in JVM")]
public void RemoveTab(ActionBar.Tab arg0)
Parameters
RemoveTabAt(int)
[Obsolete("Deprecated in JVM")]
public void RemoveTabAt(int arg0)
Parameters
SelectTab(Tab)
[Obsolete("Deprecated in JVM")]
public void SelectTab(ActionBar.Tab arg0)
Parameters
SetBackgroundDrawable(Drawable)
public void SetBackgroundDrawable(Drawable arg0)
Parameters
SetCustomView(View)
public void SetCustomView(View arg0)
Parameters
SetCustomView(View, LayoutParams)
public void SetCustomView(View arg0, ActionBar.LayoutParams arg1)
Parameters
arg0Viewarg1ActionBar.LayoutParams
SetCustomView(int)
public void SetCustomView(int arg0)
Parameters
SetDisplayHomeAsUpEnabled(bool)
public void SetDisplayHomeAsUpEnabled(bool arg0)
Parameters
SetDisplayOptions(int)
public void SetDisplayOptions(int arg0)
Parameters
SetDisplayOptions(int, int)
public void SetDisplayOptions(int arg0, int arg1)
Parameters
SetDisplayShowCustomEnabled(bool)
public void SetDisplayShowCustomEnabled(bool arg0)
Parameters
SetDisplayShowHomeEnabled(bool)
public void SetDisplayShowHomeEnabled(bool arg0)
Parameters
SetDisplayShowTitleEnabled(bool)
public void SetDisplayShowTitleEnabled(bool arg0)
Parameters
SetDisplayUseLogoEnabled(bool)
https://developer.android.com/reference/android/app/ActionBar.html#setDisplayUseLogoEnabled(boolean)
public void SetDisplayUseLogoEnabled(bool arg0)
Parameters
SetElevation(float)
public void SetElevation(float arg0)
Parameters
SetHideOffset(int)
public void SetHideOffset(int arg0)
Parameters
SetHideOnContentScrollEnabled(bool)
public void SetHideOnContentScrollEnabled(bool arg0)
Parameters
SetHomeActionContentDescription(CharSequence)
public void SetHomeActionContentDescription(CharSequence arg0)
Parameters
arg0CharSequence
SetHomeActionContentDescription(int)
public void SetHomeActionContentDescription(int arg0)
Parameters
SetHomeAsUpIndicator(Drawable)
public void SetHomeAsUpIndicator(Drawable arg0)
Parameters
SetHomeAsUpIndicator(int)
public void SetHomeAsUpIndicator(int arg0)
Parameters
SetHomeButtonEnabled(bool)
public void SetHomeButtonEnabled(bool arg0)
Parameters
SetIcon(Drawable)
public void SetIcon(Drawable arg0)
Parameters
SetIcon(int)
public void SetIcon(int arg0)
Parameters
SetListNavigationCallbacks(SpinnerAdapter, OnNavigationListener)
[Obsolete("Deprecated in JVM")]
public void SetListNavigationCallbacks(SpinnerAdapter arg0, ActionBar.OnNavigationListener arg1)
Parameters
arg0SpinnerAdapterarg1ActionBar.OnNavigationListener
SetLogo(Drawable)
public void SetLogo(Drawable arg0)
Parameters
SetLogo(int)
public void SetLogo(int arg0)
Parameters
SetNavigationMode(int)
[Obsolete("Deprecated in JVM")]
public void SetNavigationMode(int arg0)
Parameters
SetSelectedNavigationItem(int)
[Obsolete("Deprecated in JVM")]
public void SetSelectedNavigationItem(int arg0)
Parameters
SetSplitBackgroundDrawable(Drawable)
public void SetSplitBackgroundDrawable(Drawable arg0)
Parameters
SetStackedBackgroundDrawable(Drawable)
public void SetStackedBackgroundDrawable(Drawable arg0)
Parameters
SetSubtitle(CharSequence)
public void SetSubtitle(CharSequence arg0)
Parameters
arg0CharSequence
SetSubtitle(int)
public void SetSubtitle(int arg0)
Parameters
SetTitle(CharSequence)
public void SetTitle(CharSequence arg0)
Parameters
arg0CharSequence
SetTitle(int)
public void SetTitle(int arg0)
Parameters
Show()
public void Show()