diff options
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/app/ActionBar.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/java/android/app/ActionBar.java b/core/java/android/app/ActionBar.java index d0b3ac4..3cd2b9e 100644 --- a/core/java/android/app/ActionBar.java +++ b/core/java/android/app/ActionBar.java @@ -368,6 +368,24 @@ public abstract class ActionBar { * @return The context mode's menu. */ public abstract Menu getMenu(); + + /** + * Returns the current title of this context mode. + * @return Title text + */ + public abstract CharSequence getTitle(); + + /** + * Returns the current subtitle of this context mode. + * @return Subtitle text + */ + public abstract CharSequence getSubtitle(); + + /** + * Returns the current custom view for this context mode. + * @return The current custom view + */ + public abstract View getCustomView(); } /** |