Android XML theme inheriting from two parent themes?

Android styles and themes always seem to make my head spin. I wanted to use the Holo UI across different versions of Android for my app. So I decided to extract the necessary resources by browsing the source.I came across the following in \[code\]android-15\data\res\values\themes.xml\[/code\] and I'm confused as to what exactly is being 'inherited' and from where:\[code\]<style name="Theme.Holo.Light" parent="Theme.Light"> ... ...</style>\[/code\]The Android API Guide says :\[quote\] If you want to inherit from styles that you've defined yourself, you do not have to use the \[code\]parent\[/code\] attribute. Instead, just prefix the name of the style you want to inherit to the name of your new style, separated by a period.\[/quote\]But from the code above, it seems like \[code\]Theme.Holo.Light\[/code\] is inheriting from \[code\]Theme.Holo\[/code\] and from \[code\]Theme.Light\[/code\]. How does that work, or what am I not reading properly?
 
Back
Top