tags:

views:

32

answers:

1

I'm trying to create an Android app based on camera. I want to split my screen into 2 or 4 views. (when 2 views are show, one will be above and one will be below. And when 4 views, 2 will be on top (side by side) and 2 will be at bottom (side by side)) I want to show the what camera is seeing in all the views. I mean all the views must render according to camera. Is it possible? HOw?

A: 

This is not practical AFAIK. The camera will draw to only one SurfaceView, not four. While you could try to make a mock SurfaceView that then passes the information to four separate SurfaceViews, your performance probably will be awful.

CommonsWare