SurfaceView 和 TextureView

1.区别

The followings are two limitations of SurfaceView:

  • You can not be animated, transformed and scaled;
  • You can not overlay two SurfaceView.

TextureView looks like a general View. You can animate, transform and scale it, just like a TextView. TextureView can only be used in a hardware accelerated window. However, TextureView will consume much more memory than SurfaceView, and also may have a 1~3 frame latency. See the discussion on

posted @ 2016-08-06 15:54  BaronZ  阅读(453)  评论(0编辑  收藏  举报