It's also something that should not be semantically visible from the SDK; it
is just an implementation detail, which should be possible to change in the
future without impacting the SDK.

On Sun, Feb 21, 2010 at 10:05 PM, Romain Guy <[email protected]> wrote:

> There's only one ViewRoot for an entire view hierarchy (one ViewRoot
> per window for instance.) There's certainly not one ViewRoot per View,
> and it's actually pretty clear when reading the code of ViewRoot
> and/or View.
>
> On Sun, Feb 21, 2010 at 10:03 PM, Guobin <[email protected]> wrote:
> > Some comments in ViewRoot.java
> > ViewRoot: The top of a view hierarchy, implementing the needed
> > protocol between View and the WindowManager.
> >
> > BRs
> > Guobin
> >
> > On Feb 20, 4:53 pm, sheng wang <[email protected]> wrote:
> >> Hi ,
> >>
> >> Can any one give more information about ViewRoot and what's the relation
> >> between viewroot and view?
> >> I found a Viewroot  create a surface at its' constructor, which I think
> is
> >> the real bitmap data goes to.  So I guess
> >>  every view has it own viewroot, every view has a surface for drawing
> and
> >> the surfaceflinger will finally blend all surfaces together, but I found
> >> it's definitely wrong.
> >>
> >> How view and viewroot cooperate is quite ambiguous to me. Any
> information
> >> will be appreciated!
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to