Android Simple way for User Color Selections
- by miannelle
How can you change application colors on the fly?
I am currently using the following to change the background:
LinearLayout mScreen = (LinearLayout) findViewById(R.id.main); mScreen.setBackgroundColor( mycolor );
I tried to use Style's to change the text using:
@color/white
The problem is that Spinners/Buttons and Spinner-Popup-Lists all change to white text as well, making them unreadable. I have over 20 Classes in my app that all need to be able to change color combination's.