Hi Dianne,

Thanks for your answer.

Further more, I wonder if the explicit 'parent' attribute is assigned,
the implicit inheritance will be overrided,

for example:

<style name="Theme.Black" parent="AnotherTheme">

and then the Theme.Black will only inherit from 'AnotherTheme',  am I
right?

On Apr 21, 11:42 pm, Dianne Hackborn <hack...@android.com> wrote:
> Yes the default rule is to inherit from the theme before the '.'.
>
>
>
> On Mon, Apr 20, 2009 at 11:17 PM, jking <jiangjun.jk...@gmail.com> wrote:
>
> > Hi,
>
> > When I search across the source of framework resources packages, I
> > found the theme definitions in themes.xml using the naming pattern
> > like this:
>
> > Theme
> > Theme.Black
> > Theme.Dialog
> > ....
>
> > Does it implied that the Theme.Black is derived from Theme? As it is
> > another way to set implied inheritance relations between styles, as
> > the ordinary declaration of inheritance is:
>
> > <style name="Theme.Black" parent="Theme">
>
> > Can anyone here explain this, Thanks in advance!
>
> > Jking
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to