I want to incorporate a camera feature in my app, that will allow layout transitions of the view itself, changing its size, its preview size, and handle orientation changes efficiently. Should I use TextureView or SurfaceView?
Decisions decisions..
According to your context I suggest
TextureViewbecause things like transformations, animations and scaling is not possible with theSurfaceView. But keep in mindTextureViewwill consume more memory thanSurfaceView.