decor view (containing the standard window frame/decorations and the client's content inside of that), which can be added as a window to the window manager.
Viewroot: root view
具体指的是什么,如何解释?
...全文
2225打赏收藏
decor view & viewroot指的是什么?
decor view (containing the standard window frame/decorations and the client's content inside of that), which can be added as a window to the window manager. Viewroot: root view 具体指的是什么,如何解释?
Retrieve the top-level window decor view (containing the standard window frame/decorations and the client's content inside of that), which can be added as a window to the window manager.
Note that calling this function for the first time "locks in" various window characteristics as described in setContentView(View, android.view.ViewGroup.LayoutParams).