List of usage examples for android.view ActionMode getType
public int getType()
From source file:org.cafemember.ui.LaunchActivity.java
@Override public void onActionModeStarted(ActionMode mode) { super.onActionModeStarted(mode); if (Build.VERSION.SDK_INT >= 23 && mode.getType() == ActionMode.TYPE_FLOATING) { return;/* www . j av a 2 s .c om*/ } actionBarLayout.onActionModeStarted(mode); if (AndroidUtilities.isTablet()) { rightActionBarLayout.onActionModeStarted(mode); layersActionBarLayout.onActionModeStarted(mode); } }
From source file:org.cafemember.ui.LaunchActivity.java
@Override public void onActionModeFinished(ActionMode mode) { super.onActionModeFinished(mode); if (Build.VERSION.SDK_INT >= 23 && mode.getType() == ActionMode.TYPE_FLOATING) { return;//from w ww .jav a 2 s . co m } actionBarLayout.onActionModeFinished(mode); if (AndroidUtilities.isTablet()) { rightActionBarLayout.onActionModeFinished(mode); layersActionBarLayout.onActionModeFinished(mode); } }