Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的应用程序中加入一个相机功能,这将允许视图本身的布局转换,改变它的大小,它的预览大小,并有效地处理方向变化。我应该使用TextureVieworSurfaceView吗?
TextureView
SurfaceView
决定决定..
根据您的上下文,我建议TextureView因为SurfaceView. 但要记住TextureView会消耗更多的内存SurfaceView。