سؤال

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