I'm playing a video in Andengine on
@Override
protected void onSetContentView() {}
However, when I place a sprite on the screen at some point in time, it is placed behind that video view. I want it to appear in front of it.
My attempt:
Entity foregroundLayer= new Entity();
foregroundLayer.attachChild(drag1);
scene.attachChild(foregroundLayer);
Setting setZIndex
also didn't work
Here's a screenshot:
The world icon is half outside and half behind. It should be on top.