Beispiel #1
0
 public android.view.MenuItem setTitle(java.lang.CharSequence title)
 {
     mTitle = title;
     mMenu.onItemsChanged(false);
     if (mSubMenu != null)
     {
         mSubMenu.setHeaderTitle(title);
     }
     return(this);
 }
Beispiel #2
0
 internal void setSubMenu([email protected] subMenu)
 {
     mSubMenu = subMenu;
     subMenu.setHeaderTitle(getTitle());
 }