... 类型 相关方法 ViewGroup View 事件分发 dispatchTouchEvent √ √ 事件拦截 onInterceptTouchEvent √ X ...
基于10个网页-相关网页
In an Android application, the user interface is built using View and ViewGroup objects.
在一个Android应用中,用户界面是由View和ViewGroup对象构建的。
View objects are leaves in the tree, ViewGroup objects are branches in the tree (see the View Hierarchy figure above).
View对象是树的叶节点,而ViewGroup对象是树的分支(参阅楼上的视图层次图)。
应用推荐