The "Kitchen Sink" demo shows us how to multiple themes - very cool. The designer allows you, however, to add multiple themes to a single .res file. I added a second theme to my single theme.res file and then it seemed to use the second one as a default, bizarrely. Is this the correct way to do it?, or should I only do it the-way-of-the-demo and have multiple .res files?

有帮助吗?

解决方案

You can go both ways as long as the res file doesn't grow to be too big you will be fine.

Just override initTheme and initialize the right theme there.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top