androidandroid-layoutandroid-framework

What is the relation between a DecorView and ViewRootImpl in Android?


I am not sure I understand the relation between the two. As I understand ViewRootImpl holds mView which is the main view per window, and DecorView is also the main view per window?


Solution

  • It turns out that the mView inside ViewRootImpl IS DecorView so this answers my own question