I'm almost done finalizing my first app (live wallpaper) for Android.
The live wallpaper works in portrait mode, but when it gets rotated to landscape the background will be in the left and I only see a square in the left corner. In other words the canvas stays portrait even when the screen gets rotated to landscape.
I use a bitmap as a background:
Canvas cb = new Canvas();
cb.setBitmap(Achtergrond);
How can I rotate the bitmap 90 degrees and then set the bitmap so it will be shown in landscape? Now the bitmap does not rotate with the screen orientation.