Views and widgets

The class android.view.View is the base class for UI objects in Android.

There are three major types of views:

SurfaceView

ViewGroup

Widget

SurfaceView: provides a direct drawing surface.

ViewGroup: are an abstraction of layouts and other view containers.

Widget: are the classic UI components you'll use most often.

the next thing we need to do is link to these components in code and bring them to life with activities.

猜你喜欢

转载自zsjg13.iteye.com/blog/2196047