Android显示系统之View与SurfaceView更新屏幕的区别
来源:互联网 发布:儿童电脑编程软件魔爪 编辑:程序博客网 时间:2024/05/17 01:11
http://www.uml.org.cn/mobiledev/201209102.asp
1、View
View
extends Object
implements Drawable.Callback KeyEvent.Callback AccessibilityEventSource
java.lang.Object
android.view.View
- Known Direct Subclasses(直接子类,SurfaceView是View的子类)
AnalogClock,ImageView,KeyboardView,MediaRouteButton,ProgressBar,Space,SurfaceView,TextView,TextureView,ViewGroup,ViewStu
- Known Indirect Subclasses(间接子类)
AbsListView,AbsSeekBar,AbsSpinner,AbsoluteLayout,AdapterView<T extends Adapter>,AdapterViewAnimator,AdapterViewFlipper,AppWidgetHostView,AutoCompleteTextView, Button, CalendarView, CheckBox, CheckedTextView, Chronometer, and 53 others.
Class Overview
This class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class forwidgets, which are used to create interactive UI components (buttons, text fields, etc.). TheViewGroup subclass is the base class forlayouts, which are invisible containers that hold other Views (or other ViewGroups) and define their layout properties.
View类为用户界面提供了最基础的组件,View类组件负责更换屏幕与处理事件。同时,View类也是widgets类的基础类,widgets类可以创建基础的UI组件,如Bottons、Textview等等。View类的其中一个直接子类ViewGroup是layous的基础类,layous是用来装载View或者其他的ViewGrous的,并且可以定义这些装载内容的特性。
2、 从上述的Overview可知,SurfaceView是继承于View类的,(GLSurfaceView是继承于SurfaceView的)
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别
- Android显示系统之View与SurfaceView更新屏幕的区别.对于View.则是在UI主线程中更新画面.SurfaceView更新屏幕,是在非UI线程(主线程)中实现SurfaceHolde
- surfaceview的更新屏幕与view的区别
- Android surfaceView 与View 的区别
- Android surfaceView 与View 的区别分析
- Android之View和SurfaceView的区别
- SurfaceView与View的区别
- SurfaceView与View的区别
- SurfaceView与View的区别
- Android之SurfaceView与View
- Android游戏开发之构建游戏框架View与SurFaceView的区别(十)
- JQuery筛选器大全
- hdu 1053 哈夫曼树 优先级队列
- 惊叹,交换操作竟然可以不借助第三个中间数
- Windows 获取当前系统时间函数总结
- 交换2个变量,不通过第三变量
- Android显示系统之View与SurfaceView更新屏幕的区别
- Other
- iOS录音功能的实现
- Device Simulation Framework Reference
- Server Management Studio报错“请验证实例名称是否正确并且SQL Server已配置为允许远程连接”
- 用单张2D图像重构3D场景
- 【WPF】DataGrid 列按百分比设置宽度,及列值显示的格式化
- Address already in use: JVM_Bind错误的解决
- c++ file time_t CString write