diff options
author | Adam Powell <adamp@google.com> | 2010-07-14 16:24:56 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2010-07-14 16:26:28 -0700 |
commit | 29ed7575c2129974a57ad77b3531bc5995940c6c (patch) | |
tree | 477f98e74b0a413a5c58732d1f41364fb22245e1 /core/java/android/app/ActionBar.java | |
parent | 1f5dddc85c07169b19846d454e0797b791299e3d (diff) | |
download | frameworks_base-29ed7575c2129974a57ad77b3531bc5995940c6c.zip frameworks_base-29ed7575c2129974a57ad77b3531bc5995940c6c.tar.gz frameworks_base-29ed7575c2129974a57ad77b3531bc5995940c6c.tar.bz2 |
Bug 2841148 - Add accessors for action bar context mode state.
Change-Id: I04f3efce5a692b346756cc80c8d15f3abba10558
Diffstat (limited to 'core/java/android/app/ActionBar.java')
-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(); } /** |