In Android is it necessary to define the colors and dimensions as xml resources in res directory as opposed to just directly specifying the color code/dimension in the layout xml files.I understand with strings you define them in resources for localization.What about for these 2?