Can anyone tell me how to make background of live wallpaper scroll? Default launcher in phone doesn't scroll since Android 4.1 update. However, certain third party launchers do scroll the background. Regarding my live wallpaper; I have added onOffsetchanged
, yet the background doesn't scroll. Can anyone help me?
Here is the code
final AutoParallaxBackground background = new AutoParallaxBackground(0, 0, 0, 5);
background.attachParallaxEntity(new ParallaxEntity(0f, new Sprite(0, 0, backgroundRegion, this.getVertexBufferObjectManager())));
mScene.setBackground(background);
check by adding with the following line