Question

I wanted to provided users with an option to set the background my custom launcher. However, the code I tried only set the background of the default home screen and not of my launcher. Can I make the code to change the background of my custom launcher.

No correct solution

OTHER TIPS

What do you mean by launcher? You can just put some buttons up and have each one do something along the lines of this

public void setActivityBackgroundColor(int color) {
        View view = this.getWindow().getDecorView();
        view.setBackgroundColor(color);
    }

and obviously change the color to the ones you want them to be able to select.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top