Reputation: 2541
I'm writing an app which uses multiple layouts. How to record video in background without having visible SurfaceView and despite changing layouts (with setContentView()
)?
Upvotes: 2
Views: 5909
Reputation: 7830
You can use SurfaceView of size 1x1 pixels, it should work on most devices.
See this question for more answers.
Upvotes: 3