Popular Classes
S
ources
-
E
xamples
-
D
iscussions
Project: ActionBarCompat
Explorer
Outline
ActionBarCompatSample
src
sk
m217
actionbarcompatsample
ActionBarCompatSampleActivity.java
ActionBarCompat
src
sk
m217
actionbarcompat
ActionBarHelperICS.java
ActionBarCompatHoneycomb.java
MenuItemCompat.java
SimpleMenuItem.java
MenuItemHoneycomb.java
ActionBarCompat.java
ActivityWithActionBar.java
ActionBarListActivity.java
MenuItemCompatBase.java
ActionBarCompatICS.java
MenuItemCompatICS.java
SimpleMenu.java
ActionBarHelper.java
SimpleMenuPresenter.java
MenuItemCompatHoneycomb.java
ActionBarCompatBase.java
ActionBarHelperBase.java
MenuItemICS.java
ActionBarHelperHoneycomb.java
ActionBarActivity.java
onMenuItemActionExpand(MenuItem item)
onMenuItemActionCollapse(MenuItem item)
setShowAsActionFlags(int actionEnum)
expandActionView()
collapseActionView()
isActionViewExpanded()
setOnActionExpandListener(OnActionExpandListener listener)
/*
* Copyright 2012 Tibor Bombiak <biegleux[at]gmail[dot]com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
sk.m217.actionbarcompat;
import
android.view.MenuItem;
public
interface
MenuItemICS
extends
MenuItemHoneycomb {
public
static
final
int
SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW =
8
;
public
interface
OnActionExpandListener
{
public
boolean
onMenuItemActionExpand
(MenuItem item);
public
boolean
onMenuItemActionCollapse
(MenuItem item);
}
public
MenuItem
setShowAsActionFlags
(
int
actionEnum);
public
boolean
expandActionView
();
public
boolean
collapseActionView
();
public
boolean
isActionViewExpanded
();
public
MenuItem
setOnActionExpandListener
(OnActionExpandListener listener);
}