Popular Classes
S
ources
-
E
xamples
-
D
iscussions
Project: cow
Code Examples
Explorer
Outline
src
com
ad
cow
library
RatingAdapter.java
UserFunctions.java
DatabaseHandler.java
JSONParser.java
Rating.java
GlobalVar.java
AbstractApplication.java
RatingActivity.java
RegisterActivity.java
LoginActivity.java
ExperienceActivity.java
HomeActivity.java
StatusActivity.java
AbstractActivity.java
AchieveActivity.java
libs
ActionBarSherlock
library
src
com
actionbarsherlock
internal
nineoldandroids
animation
KeyframeSet.java
AnimatorSet.java
TypeEvaluator.java
IntKeyframeSet.java
IntEvaluator.java
Animator.java
PropertyValuesHolder.java
ObjectAnimator.java
FloatEvaluator.java
ValueAnimator.java
Keyframe.java
AnimatorListenerAdapter.java
FloatKeyframeSet.java
view
animation
AnimatorProxy.java
NineViewGroup.java
widget
NineFrameLayout.java
view
View_HasStateListenerSupport.java
menu
SubMenuBuilder.java
BaseMenuPresenter.java
ActionMenuItem.java
ActionMenuItemView.java
MenuPopupHelper.java
MenuPresenter.java
ActionMenuPresenter.java
MenuBuilder.java
ActionMenuView.java
ListMenuItemView.java
ActionMenu.java
MenuItemImpl.java
MenuView.java
StandaloneActionMode.java
View_OnAttachStateChangeListener.java
widget
ActionBarContainer.java
IcsLinearLayout.java
IcsListPopupWindow.java
ActionBarContextView.java
AbsActionBarView.java
ScrollingTabContainerView.java
IcsView.java
IcsProgressBar.java
ActionBarView.java
app
ActionBarImpl.java
ActionBarSherlock.java
view
ActionMode.java
Window.java
MenuInflater.java
Menu.java
CollapsibleActionView.java
SubMenu.java
MenuItem.java
ActionProvider.java
app
SherlockListActivity.java
SherlockPreferenceActivity.java
SherlockExpandableListActivity.java
ActionBar.java
SherlockActivity.java
plugins
maps
src
com
actionbarsherlock
app
SherlockMapActivity.java
compat-lib
src
android
support
v4
app
FragmentManager.java
Fragment.java
FragmentActivity.java
test
runner
src
com
actionbarsherlock
tests
runner
BaseTestCase.java
TestIssue0045.java
TestIssue0002.java
TestIssue0035.java
TestFeatureCustomView.java
TestIssue0048.java
TestIssue0031.java
TestIssue0038.java
TestIssue0036.java
TestFeatureEnableActionItemText.java
TestIssue0042.java
TestIssue0030.java
TestIssue0033.java
TestIssue0039.java
app
src
com
actionbarsherlock
tests
app
Issue0035.java
Issue0030.java
Issue0036.java
Issue0048.java
Issue0033.java
FeatureEnableActionItemText.java
Issue0038.java
Issue0045.java
FeatureCustomView.java
Issue0031.java
Issue0002.java
Issue0042.java
samples
plugins
src
com
actionbarsherlock
sample
plugins
DemoChooser.java
app
MapSimple.java
demos
src
com
actionbarsherlock
sample
demos
ListNavigation.java
Simple.java
SubMenus.java
IndeterminateProgress.java
Overlay.java
SampleList.java
CustomNavigation.java
TabNavigationCollapsed.java
SplitActionBar.java
TabNavigation.java
ForcedOverflowItem.java
FeatureToggles.java
ActionModes.java
PreferenceSimple.java
onActionViewExpanded()
onActionViewCollapsed()
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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
com.actionbarsherlock.view;
import
android.view.View;
/**
* When a {@link View} implements this interface it will receive callbacks
* when expanded or collapsed as an action view alongside the optional,
* app-specified callbacks to {@link OnActionExpandListener}.
*
* <p>See {@link MenuItem} for more information about action views.
* See {@link android.app.ActionBar} for more information about the action bar.
*/
public
interface
CollapsibleActionView
{
/**
* Called when this view is expanded as an action view.
* See {@link MenuItem#expandActionView()}.
*/
public
void
onActionViewExpanded
();
/**
* Called when this view is collapsed as an action view.
* See {@link MenuItem#collapseActionView()}.
*/
public
void
onActionViewCollapsed
();
}