문제

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