I used google but didn't find an accurate solution, for changing themes programmatically.
I want to change everything programmatically: styles, colors, attributes etc., without using style.xml, theme.xml or any other xml file.
I have searched, but styles are defined in an xml file like that Using Themes in Android Applications
-
Have you got any solution?Md. Monsur Hossain Tonmoy– Md. Monsur Hossain Tonmoy2014-05-23 11:14:23 +00:00Commented May 23, 2014 at 11:14
-
1No, simply i have create multiple drawables with multiple colors, and change the background on theme button clickWaseem Arain– Waseem Arain2014-05-23 11:19:11 +00:00Commented May 23, 2014 at 11:19
Add a comment
|
1 Answer
I know this is an old question, but if someone's still looking for a solution, checkout the GreenMatter library for the Material theme, or for the Holo theme holoaccent.