List of usage examples for android.view ActionMode TYPE_FLOATING
int TYPE_FLOATING
To view the source code for android.view ActionMode TYPE_FLOATING.
Click Source Link
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;/*ww w . ja v 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 w w . j a va 2 s.co m } actionBarLayout.onActionModeFinished(mode); if (AndroidUtilities.isTablet()) { rightActionBarLayout.onActionModeFinished(mode); layersActionBarLayout.onActionModeFinished(mode); } }