|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.ide.common.rendering.api.ActionBarCallback
public class ActionBarCallback
Callback for Action Bar information needed by the Layout Library.
Nested Class Summary | |
---|---|
static class |
ActionBarCallback.HomeButtonStyle
Types of navigation for home button. |
Field Summary | |
---|---|
static int |
NAVIGATION_MODE_LIST
|
static int |
NAVIGATION_MODE_STANDARD
|
static int |
NAVIGATION_MODE_TABS
|
Constructor Summary | |
---|---|
ActionBarCallback()
|
Method Summary | |
---|---|
ActionBarCallback.HomeButtonStyle |
getHomeButtonStyle()
Returns the type of navigation for home button to be used in the action bar. |
java.util.List<java.lang.String> |
getMenuIdNames()
Returns a list of names of the IDs for menus to add to the action bar. |
int |
getNavigationMode()
Returns which navigation mode the action bar should use. |
boolean |
getSplitActionBarWhenNarrow()
Returns whether the Action Bar should be split for narrow screens. |
java.lang.String |
getSubTitle()
Returns the subtitle to be used with the action bar or null if there is no subtitle. |
boolean |
isOverflowPopupNeeded()
Returns whether to draw the overflow menu popup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NAVIGATION_MODE_STANDARD
public static final int NAVIGATION_MODE_LIST
public static final int NAVIGATION_MODE_TABS
Constructor Detail |
---|
public ActionBarCallback()
Method Detail |
---|
public java.util.List<java.lang.String> getMenuIdNames()
public boolean getSplitActionBarWhenNarrow()
public int getNavigationMode()
NAVIGATION_MODE_STANDARD
, NAVIGATION_MODE_LIST
or
NAVIGATION_MODE_TABS
public java.lang.String getSubTitle()
public ActionBarCallback.HomeButtonStyle getHomeButtonStyle()
public boolean isOverflowPopupNeeded()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |