Quote:
Originally Posted by rudeboy it will work either way, in a whatever_scheme.xml or in the home screen.xml. |
That's not quite correct. If he wants that menu color scheme to work with various Home screens, he should do it in a scheme file. Otherwise, he'd have to make changes to each Home screen he'd want to use.
Quote:
Originally Posted by rudeboy i prefer to do it in the home screen.xml so i do not have to go back & forth and everything is together, whenever i do change a color code i comment behind the line what is was before using <!-- old color --> plus i always make sure i have backup of the original (i do this automagiclly with MobSync. |
Doing it in the layout file is fine if you're developing a new Home screen, but it sounds like the OP just wanted to change the menu colors. In that case, there's no reason to:
- Copy a Home screen file to your PC.
- Make a backup (optionally).
- Put the scheme changes in there (worrying about where they go).
- Save it.
- Copy it back to your Q.
It's much easier to just:
- Create the scheme file from scratch.
- Put the scheme code in.
- Save it.
- Copy it to your Q.
If that's too difficult, you can copy an existing scheme file (just like a layout file), but you don't have to worry about finding the scheme section or messing the layout up accidentally.
I think most Home screen designers tend to under-utilize the scheme file because they're focused more on layout than overall system colors. The scheme file is really the correct place for controlling overall system colors.
Put the default color information in the layout file so that it's easy to get the matching colors, but a user should be able to override everything (except, perhaps, the Home-specific colors) in a scheme file.
Steve