summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget/ActionMenuPresenter.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2014-05-23 17:27:24 -0700
committerAdam Powell <adamp@google.com>2014-05-28 12:36:38 -0700
commite021e6ed8931a0a8296af182fc9b0c76b64fb0c4 (patch)
tree8bf85bb26b93d8f44d42fcf36c63091a2174b851 /core/java/android/widget/ActionMenuPresenter.java
parent560ce61c598d9912c4adbd9c602f1a870fb478f4 (diff)
downloadframeworks_base-e021e6ed8931a0a8296af182fc9b0c76b64fb0c4.zip
frameworks_base-e021e6ed8931a0a8296af182fc9b0c76b64fb0c4.tar.gz
frameworks_base-e021e6ed8931a0a8296af182fc9b0c76b64fb0c4.tar.bz2
Toolbar factoring and ActionBar functionality integration
Toolbars now can act in the role of ActionBar with the exception of navigation modes. Expandable action views are now supported as well as populating menu items from a host window. Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
Diffstat (limited to 'core/java/android/widget/ActionMenuPresenter.java')
-rw-r--r--core/java/android/widget/ActionMenuPresenter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/ActionMenuPresenter.java b/core/java/android/widget/ActionMenuPresenter.java
index 51759c5..1fddf3e 100644
--- a/core/java/android/widget/ActionMenuPresenter.java
+++ b/core/java/android/widget/ActionMenuPresenter.java
@@ -544,6 +544,7 @@ public class ActionMenuPresenter extends BaseMenuPresenter
public void setMenuView(ActionMenuView menuView) {
mMenuView = menuView;
+ menuView.initialize(mMenu);
}
private static class SavedState implements Parcelable {