i have tested a view moved by the finger, using TranslateX and TranslateY properties.
I works fine, but when the view is moved over the action bar it leaves a trailing artifact. The action bar does not redraw itselft at all.
What should be called to either redraw the action bar, or clip the view so it won't draw over the action bar ?
Context.InvalidateOptionsMenu(); does nothing at all.
You need to set a Background to the ActionBar:
ActionBar actionBar = getActionBar(); actionBar.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.screen_background_dark));
That did it for me;