I have MyActivity with WebView element. When I “long press” on web view the ActionBar pops up. If I try to access the action bar like
getActionBar()
somewhere inside my activity I get null. It seems the web view is using some kind of menu popup.
QUESTIONS:
- How can I access that action bar?
- How to set the action bar not to move the activity down when it is displayed (so ActionBar to be on top of it > position:absolute)?

This is called an
ActionMode. You can make it overlay your Activity by settingandroid:windowActionModeOverlay="true"in your theme, like settingandroid:windowActionBarOverlayto have theActionBaroverlay content.There is an ActionMode hook in Activity which you can maybe use:
onActionModeStarted().