参考资料:http://developer.android.com/guide/topics/ui/overview.html
A View
is an object that draws something on the screen that theuser can interact with. A ViewGroup
is an object that holds otherView
(and ViewGroup
)objects in order to define the layout of the interface.
View是一个可视化的交互对象、而ViewGroup相当于View的容器
The name of an XML element for a view is respective to theAndroid class it represents.
XML的元素名就代表着对应的Android类,比如TextView