Android中SurfaceView的使用详解

 

Android中SurfaceView的使用详解 

http://blog.csdn.net/listening_music/article/details/6860786

Android NDK开发 native层获取Surface并显示图像 思路过程

http://www.cnblogs.com/haithink/archive/2013/03/12/2956487.html 

Android布局中LayoutInflater的使用(利用代码添加xml形式的Layout布局)

http://www.cnblogs.com/haithink/archive/2013/03/12/2956487.html 

对android中的surfaceview的困惑,双缓冲区该怎么理解?

http://bbs.csdn.net/topics/390834677

  1. private static View getRootView(Activity context)  
  2.     {  
  3.         return ((ViewGroup)context.findViewById(android.R.id.content)).getChildAt(0);  
  4.     } 
getWindow().getDecorView().findViewById(android.R.id.content)

getWindow().getDecorView()就是根视图了,当然用Activity.getWindow.getDecorView()来表达意思更为明确。

原文地址:https://www.cnblogs.com/jukan/p/6051607.html